[ILUG] PHP confusion

From: Stephane Dudzinski (stephane at domain antefacto.com)
Date: Tue 16 Oct 2001 - 09:14:10 IST


Hello, i know this is a bit off-topic but i can't seem to find a
solution for this one.

I've been trying to get the IP address of a client via an HTTP script
for which i used REMOTE_ADDR which is fine if you don't use a proxy.

As I use a proxy, I then tried the HTTP_X_FORWARDED_FOR which returns
the result: unknown.

It does not seem to give the correct result at all ...
Any clues ?

Steph

-- 
__________________________________________
Stephane Dudzinski   Systems Administrator
a n t e f a c t o     t: +353 1 8586009
www.antefacto.com     f: +353 1 8586014


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:45 GMT