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)
 [EMAIL PROTECTED]
 www.phpbeginner.com






-----Original Message-----
From: Rosen [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 11:54 PM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
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