check the httpd's X_FORWARDED_FOR var using getenv or similiar...
Quoting Christian Dechery (Wed, Jun 27, 2001 at 09:01:28AM -0300)
> yeah... that's a possibility...
> so there's no way I can see the user'ss IP?
>
> At 09:42 27/6/2001 +0100, Colin May wrote:
> >Almost as if the request was prox
t;Colin May" <[EMAIL PROTECTED]>
>To: "Christian Dechery" <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>Sent: Wednesday, June 27, 2001 10:42 AM
>Subject: Re: [PHP] $REMOTE_ADDR error
>
>
> > Almost as if the request was proxied or redirected from
yeah... that's a possibility...
so there's no way I can see the user'ss IP?
At 09:42 27/6/2001 +0100, Colin May wrote:
>Almost as if the request was proxied or redirected from the local machine
>(127.0.0.1 is the local loop back ip)
>
>Quoting Christian Dechery (Tue, Jun 26, 2001 at 10:31:54PM -0
>Also, if your web-server is on your machine, well, you always are 127.0.0.1
>when you surf...
It depends on what you have your server set up as. If you have your server
set up to listen to the IP 128.205.233.10 then $REMOTE_ADDR will return
128.205.233.10, even if it's on your machine...
--Jaso
ot;Colin May" <[EMAIL PROTECTED]>
To: "Christian Dechery" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 10:42 AM
Subject: Re: [PHP] $REMOTE_ADDR error
> Almost as if the request was proxied or redirected from the local machine
>
> why do $REMOTE_ADDR always returns 127.0.0.1 no matter the user's IP who
is
> seeing the page?
>
> this doesn't look 'remote' to me...
Maybe your web-server is not configured to give you REMOTE_ADDR.
PHP pretty much just passes on whatever the web-server hands it.
If you don't like what you a
Almost as if the request was proxied or redirected from the local machine
(127.0.0.1 is the local loop back ip)
Quoting Christian Dechery (Tue, Jun 26, 2001 at 10:31:54PM -0300)
> why do $REMOTE_ADDR always returns 127.0.0.1 no matter the user's IP who is
> seeing the page?
>
> this doesn't loo
7 matches
Mail list logo