> -----Original Message-----
> From: Benjamin de los Angeles Jr. [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, April 29, 2000 7:52 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [plug] Squid and Remote IP
> 
> 
> 
> Weird, but I don't get the remote ip, besides the default is 
> ON, I think,
> but I turned it on anyway.
> 
> here's my code snippet in Perl:
> 
> # check all vars first
> foreach $k (keys (%ENV))
> {
>    print "$k = " . $ENV{$k} . "<br>";
> }
> print $ENV{"HTTP_X_FORWARDED_FOR"} . "<BR>";
> 

try the REMOTE_ADDR variable

-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to