Re: Access Client IP address
| From: | Ray Hauge | Date: | Wed, 04 Jan 2006 19:22:17 +0000 |
| Subject: | Re: Access Client IP address | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-228164@lists.php.net to get a copy of this message | ||
$_SERVER['REMOTE_ADDR']
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server
HTH
Nilanjan Dasgupta wrote:
Hi,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.thanks a lot, Nilanjan