RE: [PHP] Problem with $REMOTE_ADDR

From: Date: Fri, 23 Feb 2001 15:20:46 +0000
Subject: RE: [PHP] Problem with $REMOTE_ADDR
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-41319@lists.php.net to get a copy of this message
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: 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 > > > -- > 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 >

« previous php.general (#41319) next »