10-20-2009, 09:41 PM
(This post was last modified: 10-20-2009, 09:41 PM by manipulate.)
You can do a lot more than get the IP address of the user; You can grab the useragent.etc from the user as well; here' is my implementation I did a while back- I'll post the source later.
I used a few functions I wrote myself for another script; but I basically used
To get all of the information; I plan on putting in IP-geolocation later...but I'm a lazy person.
I used a few functions I wrote myself for another script; but I basically used
PHP Code:
$_SERVER['REMOTE_ADDR']
$_SERVER['HTTP_USER_AGENT']
To get all of the information; I plan on putting in IP-geolocation later...but I'm a lazy person.