PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "[PHP-DB]" <[EMAIL PROTECTED]>
Sent: Monday, February 11, 2002 7:43 AM
Subject: [PHP-DB] Re: [PHP] help - to get client IP
> Someone please help me of how I could get the client IP using PHP, when i
> use $remote_addr it gives me
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