RE: [PHP-WIN] getenv

From: Date: Tue, 29 Aug 2000 11:47:45 +0000
Subject: RE: [PHP-WIN] getenv
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-2251@lists.php.net to get a copy of this message
looking behind a firewall is not possible (=> not on an easy way without hacking). This is the nature of a firewall! Some Firewalls use NAT (Network Address Translation) for identifing the users behind the wall. So you can use the Port-Address to identify. CodeDuck =8:) PS: You can not receive the IP-Address, cause its hidden to the Internet > I've had the same problem. I've changed to HTTP_SERVER_VARS["REMOTE_HOST"] > > > > > I'm pretty new to php, so this may seem a little simple, but why does > > > > echo "$REMOTE_ADDR" > > > > print the ip to the browser whilst > > > > $address = getenv("REMOTE_ADDR"); > > echo "Your IP address is $address"; > > > > doesn't?? phpinfo() works fine. > > > > Using phpisapi on IIS5/2000. > > > > Cheers > > Peter

« previous php.windows (#2251) next »