getenv

From: Date: Thu, 10 Aug 2000 19:11:27 +0000
Subject: getenv
Groups: php.windows 
Request: Send a blank email to php-windows+get-1730@lists.php.net to get a copy of this message
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 (#1730) next »