RE: [PHP] User IP

From: Date: Wed, 04 Aug 2004 14:32:21 +0000
Subject: RE: [PHP] User IP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-192710@lists.php.net to get a copy of this message
Your'e right. the $_SERVER["HTTP_X_FORWARDED_FOR"] should work in this case. Nicke -----Original Message----- From: Ivan Kovalenko [mailto:tronic@php.net] Sent: den 4 augusti 2004 16:36 To: php-general@lists.php.net 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:news@sea.gmane.org] On Behalf Of M > Sent: den 4 augusti 2004 15:46 > To: php-general@lists.php.net > 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

« previous php.general (#192710) next »