Re: HTTP_X_FORWARDED_FOR?
| From: | Attila Strauss | Date: | Thu, 10 Jan 2002 13:10:35 +0000 |
| Subject: | Re: HTTP_X_FORWARDED_FOR? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80021@lists.php.net to get a copy of this message | ||
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
>