On Wed, 19 Feb 2003 14:59:27 +0100, you wrote:

>I'd like when a customer fill in a form to  recover his IP address, is there
>a PHP function to do that ?

echo ($_SERVER["REMOTE_ADDR"]);

Be warned: This is NOT a reliable way to identify a user. These days you
are probably /more/ likely to get the address of a proxy than the
address of the user.


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

Reply via email to