$_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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to