Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001062

Re: [PHP] $REMOTE_ADDR error From: Richard Lynch (ceo <email protected>)
Date: 06/27/01

> 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 richard <email protected> address is an endangered species -- Use
ceo <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: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>