On Thursday 10 January 2002 19:36, [EMAIL PROTECTED] stuffed this into my
mailbox:
Please note that not all proxies will fill in HTTP_X_FORWARDED_FOR. Some will
obscure it others will not fill it in at all, either due to privacy or to
conseal things.
Okay, thanks. 'Cause I mean, the
Hi,
I just installed IIS 5.0 and PHP 4.1.1 on Win 2000, and I'm wondering what happened to
the HTTP_X_FORWARDED_FOR? I doesn't seem to exist on my system. Is it just a variable
that needs to be changed, or has it been removed from PHP? Thanks.
Sebbe
Hy,
[EMAIL PROTECTED] wrote:
Hi,
I just installed IIS 5.0 and PHP 4.1.1 on Win 2000, and I'm wondering what happened
to the HTTP_X_FORWARDED_FOR? I doesn't seem to exist on my system. Is it just a
variable that needs to be changed, or has it been removed from PHP? Thanks.
This has
hi
try something like
$_SERVER[HTTP_X_FORWARDED_FOR]
best regards
attila
Hy,
[EMAIL PROTECTED] wrote:
Hi,
I just installed IIS 5.0 and PHP 4.1.1 on Win 2000, and I'm wondering
what happened to the HTTP_X_FORWARDED_FOR? I doesn't seem to exist on my
system. Is it just a variable
Okay, thanks. 'Cause I mean, the REMOTE_ADDR is still there. So you mean that the
HTTP_X_FORWARDED_FOR isn't working while I'm working localhost?
Sebbe
Hy,
[EMAIL PROTECTED] wrote:
Hi,
I just installed IIS 5.0 and PHP 4.1.1 on Win 2000, and I'm wondering what
happened
Yeah, I've tried that and the $HTTP_SERVER_VARS but I keep getting this error:
PHP Warning: Undefined index: HTTP_X_FORWARDED_FOR in C:\Web\byenighte\phpinfo.php on
line 2
I'm using the recommended php.ini, by the way.
Sebbe
hi
try something like
Okay, thanks. 'Cause I mean, the REMOTE_ADDR is still there. So you
mean that the HTTP_X_FORWARDED_FOR isn't working while I'm working
localhost?
REMOTE_ADDR contains the IP of the computer that requested your page.
If it was a proxy doing the request, you'll have the proxy's IP in this
Okay, thanks. 'Cause I mean, the REMOTE_ADDR is still there. So you
mean that the HTTP_X_FORWARDED_FOR isn't working while I'm working
localhost?
REMOTE_ADDR contains the IP of the computer that requested your page.
If it was a proxy doing the request, you'll have the proxy's IP in
On php.net I found this:
When you use REMOTE_ADDR for getting the IP of the current user, sometimes
you get the IP of the ISP Cache server.
When this happens, the HTTP_X_FORWARDED_FOR is also set, it contains the IP
of the user.
[...]
Note that the X-Forwarded for header might contain multiple
9 matches
Mail list logo