Re: php/apache $remote_addr variable help!

From: Date: Wed, 05 Sep 2001 13:36:16 +0000
Subject: Re: php/apache $remote_addr variable help!
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-9198@lists.php.net to get a copy of this message
Bryan Kaufman wrote: > Try > <?php echo HTTP_SERVER_VARS['REMOTE_ADDR']; ?> this gives the same result i.e 127.0.0.1 > > also try > <?php echo phpinfo(); ?> > > It will tell you all the vars available, and you can > see if register_globals is turned off (which is why > you need to use HTTP_SERVER_VARS[]) yes the register globals is 'on' for both local and master value now what do i do

« previous php.windows (#9198) next »