RE: [PHP] Access Client IP address
| From: | Jay Blanchard | Date: | Wed, 04 Jan 2006 19:20:07 +0000 |
| Subject: | RE: [PHP] Access Client IP address | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-228166@lists.php.net to get a copy of this message | ||
[snip]
Is there any way to client's IP address inside a php document. I am
trying to generate a code that depends on the IP address of the client.
[/snip]
http://us3.php.net/manual/en/reserved.variables.php#reserved.variables.serve
r
$_SERVER['REMOTE_ADDR']
but it may not always be reliable