Re: HTTP_X_FORWARDED_FOR?

From: Date: Thu, 10 Jan 2002 17:12:56 +0000
Subject: Re: HTTP_X_FORWARDED_FOR?
Groups: php.general 
Request: Send a blank email to php-general+get-80050@lists.php.net to get a copy of this message
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, > > > > > > sebbe@popmail.com 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: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > .................................... Get your own free email account from http://www.popmail.com

« previous php.general (#80050) next »