Same thing happens to me:
http://www.webdesigns1.f2s.com/remote_addr.php
Jeff Oien

code:

 <html>
 <head>
 <title></title>
 </head>
 <body>
 <?php echo "$REMOTE_ADDR"; ?>
 </body>
 </html>

> At 09:54 AM 2/23/2001, Rosen wrote:
> 
> is the machine that your browsing on the same machine that you have your 
> serving software on?
> 
> ~kurth
> 
> 
> >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]
> 

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