note 15259 added to language.variables

From: Date: Mon, 03 Sep 2001 20:32:06 +0000
Subject: note 15259 added to language.variables
Groups: php.notes 
Request: Send a blank email to php-notes+get-17569@lists.php.net to get a copy of this message
Also, when you use: global $HTTP_POST_VARS; from within a function, you have reference any variables that were posted using the previous form by using the variable $HTTP_POST_VARS. Eg: function ReceiveVars { global $HTTP_POST_VARS; // this works echo $HTTP_POST_VARS["valueFromForm"]; // this doesn't echo $valueFromForm; } This may have been obvious to many, but I'm quite the newbie... http://www.php.net/manual/en/language.variables.php

« previous php.notes (#17569) next »