RE: [PHP] environment variables

From: Date: Mon, 07 Aug 2000 21:24:07 +0000
Subject: RE: [PHP] environment variables
Groups: php.general 
Request: Send a blank email to php-general+get-10538@lists.php.net to get a copy of this message
You're using the wrong syntax. Try putenv("MYVAR=hello"); --Bruce Bruce Christensen Intel Corporation brucex.r.christensen@intel.com -----Original Message----- From: Vincent Callut [mailto:vincent.callut@silicium14.net] Sent: Monday, August 07, 2000 2:23 PM To: php-general@lists.php.net Subject: [PHP] environment variables Hello, I want to store value in an environment variable with PHP4 and it does not work. For instance : <HTML> <? putenv("$MYVAR=hello"); echo getenv("MYVAR"); ?> </HTML> Please, help me. Vincent Callut. -- 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 (#10538) next »