RE: [PHP] Problem with $REMOTE_ADDR
| From: | PHPBeginner.com | Date: | Sat, 24 Feb 2001 06:16:44 +0000 |
| Subject: | RE: [PHP] Problem with $REMOTE_ADDR | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41459@lists.php.net to get a copy of this message | ||
If you are developing on windows (save - refresh ie ... )
then sure, your IP is the IP of the machine ...
if someone connects to you from outside then the remote host won't be
127.0.0.1 .. it will be his own
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
maxim@phpbeginner.com
www.phpbeginner.com
-----Original Message-----
From: Rosen [mailto:rosen_dm@dir.bg]
Sent: Friday, February 23, 2001 11:54 PM
To: php-general@lists.php.net
Subject: [PHP] Problem with $REMOTE_ADDR
Hi,
I have problem with using of "$REMOTE_ADDR" variable.
The variable always return me "127.0.0.1" ( localhost ),
How can I get the IP of the remote host ?
Thanks,
Rosen Marinov
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net