Your'e right. the $_SERVER["HTTP_X_FORWARDED_FOR"] should work in this case.
Nicke -----Original Message----- From: Ivan Kovalenko [mailto:[EMAIL PROTECTED] Sent: den 4 augusti 2004 16:36 To: [EMAIL PROTECTED] Subject: RE: [PHP] User IP Nicklas Bondesson wrote: Actually, there's way to determine real user's IP, checking $_SERVER["HTTP_CLIENT_IP"], $_SERVER["HTTP_X_FORWARDED_FOR"] and, finally, $_SERVER["REMOTE_ADDR"]. But this may not give certain and correct result. > As far as I'm conserned you can't. The proxy will hide all it's client > IP's and will only display it's own. > > Nicke > > -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of M > Sent: den 4 augusti 2004 15:46 > To: [EMAIL PROTECTED] > Subject: [PHP] User IP > > How can I get a user's IP who is behind a proxy? > > -- > PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: > http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php