Operating System and Timer?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Caster
Forum Newbie
Posts: 2
Joined: Sun Jul 06, 2003 12:12 pm
Location: Cali
Contact:

Operating System and Timer?

Post by Caster »

I didn't know if this belonged in this thread or the PHP Beginner one. I was wondering if there was a code that showed the time and the operating system of the person using the computer, I would also like it to show there I.P. as well (not neccarily I just want there operating system to show.) Would a beginner be able to make a script? or is this more of an advanced thing? and if i needed to make the script how would i start? or is there a script already? thx.

-Caster
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

To get the IP address you can use $_SERVER['REMOTE_ADDR'] for the user's time and operating system some Javascript will be neccessary.

Mac
Drachlen
Forum Contributor
Posts: 153
Joined: Fri Apr 25, 2003 1:16 am

Post by Drachlen »

$_SERVER["HTTP_USER_AGENT"]
Post Reply