> Whenever I use REMOTE_ADDR, it gives me the IP of the server. Of course, I > am not interested in this and want the IP of the client. I put this code in > to resolve it and it still didnt work. What am I doing wrong?
Try HTTP_CLIENT_IP. It is set in some situations. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php