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 (
To unsubscribe, visit:

Reply via email to