> 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 getting, it's in your web-server
configuration, and not actually in PHP...

Also, if your web-server is on your machine, well, you always are 127.0.0.1
when you surf...

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to