PDA

Click to See Complete Forum and Search --> : Getting IP Address -[RESOLVED]-


Electroman
Nov 17th, 2004, 08:34 AM
This is probably in one of the super globals but I'm not sure which one. How do I get the IP address of the person requesting the page? :)

visualAd
Nov 17th, 2004, 08:50 AM
Ask them. ;)

Acidic
Nov 17th, 2004, 08:57 AM
$_SERVER['REMOTE_ADDR']

visualAd
Nov 17th, 2004, 09:37 AM
Sorry, I couldnt resist the first post, as this is the 1337 thread. :D

Here's a list of all the super globals.

http://uk2.php.net/manual/en/language.variables.predefined.php