note 7978 added to putenv

From: Date: Wed, 23 Aug 2000 12:18:58 +0000
Subject: note 7978 added to putenv
Groups: php.notes 
Request: Send a blank email to php-notes+get-3010@lists.php.net to get a copy of this message
Imaging this would affect more than temporary! It does not even affect the memory: putenv('REMOTE_ADDR=NOWHERE'); echo getenv('REMOTE_ADDR')."<br>"; putenv('SERVER_NAME=NOWHERE'); echo getenv('SERVER_NAME')."<br>"; echo $SERVER_NAME."<br>"; echo $REMOTE_ADDR; Outputs: NOWHERE NOWHERE 127.0.0.1 127.0.0.1 http://www.php.net/manual/function.putenv.php

« previous php.notes (#3010) next »