Re: [PHP] $REMOTE_ADDR error

2001-06-28 Thread Colin May
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

Re: [PHP] $REMOTE_ADDR error

2001-06-28 Thread Christian Dechery
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

Re: [PHP] $REMOTE_ADDR error

2001-06-28 Thread Christian Dechery
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

RE: [PHP] $REMOTE_ADDR error

2001-06-28 Thread Jason Lustig
>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

Re: [PHP] $REMOTE_ADDR error

2001-06-27 Thread Brave Cobra
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 >

Re: [PHP] $REMOTE_ADDR error

2001-06-27 Thread Richard Lynch
> 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

Re: [PHP] $REMOTE_ADDR error

2001-06-27 Thread Colin May
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

[PHP] $REMOTE_ADDR error

2001-06-27 Thread Christian Dechery
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... . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.