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
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
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
: 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
4 matches
Mail list logo