On Wednesday 04 August 2004 09:45, M offered up the following tid-bit of
information :
> How can I get a user's IP who is behind a proxy?
Ask them for it? ;)
Seriously, there is no sure fire method to do this. Of course, 9 times out
of 10 the IP of the system behind the proxy will be of no use
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,
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 i
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 w
4 matches
Mail list logo