php-general | 2001062
Date: 06/27/01
- Next message: CertifiChecks: "[PHP] HOW TO: Reload a frame with a different URL?"
- Previous message: Richard Lynch: "Re: [PHP] Problem with returning value from function"
- In reply to: Christian Dechery: "[PHP] $REMOTE_ADDR error"
- Next in thread: Jason Lustig: "RE: [PHP] $REMOTE_ADDR error"
- Reply: Jason Lustig: "RE: [PHP] $REMOTE_ADDR error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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>
- Next message: CertifiChecks: "[PHP] HOW TO: Reload a frame with a different URL?"
- Previous message: Richard Lynch: "Re: [PHP] Problem with returning value from function"
- In reply to: Christian Dechery: "[PHP] $REMOTE_ADDR error"
- Next in thread: Jason Lustig: "RE: [PHP] $REMOTE_ADDR error"
- Reply: Jason Lustig: "RE: [PHP] $REMOTE_ADDR error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

