Page 1 of 1

Operating System and Timer?

Posted: Sun Jul 06, 2003 12:15 pm
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

Posted: Mon Jul 07, 2003 3:35 am
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

Posted: Mon Jul 07, 2003 3:45 am
by Drachlen
$_SERVER["HTTP_USER_AGENT"]