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
> 
> $_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 that needs to be changed, or has it been
> removed from PHP? Thanks.
> >
> >
> >
> > This has something to do with the way you access the machine -
> > x-forwarder-for contains the private ip address of your client machine
> > when calling the php pages through a proxy.
> > It has nothing to do with your php or server side configuration.
> >
> > henning
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 
> 


....................................
Get your own free email account from
http://www.popmail.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to