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 proxied

[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

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 are

Re: [PHP] $REMOTE_ADDR error

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