Someone please help me of how I could get the client IP using PHP, when i
use $remote_addr it gives me the server IP, Kindly help how I could get the
IP of clients who are connected to my server or website.

$ip = gethostbyname($REMOTE_HOST);

the you got the IP of the remote user.

Jeroen Timmers




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

Reply via email to