Re: Re: [PHP] 4.10 New Vars Question

From: Date: Wed, 26 Dec 2001 06:00:20 +0000
Subject: Re: Re: [PHP] 4.10 New Vars Question
Groups: php.general 
Request: Send a blank email to php-general+get-78755@lists.php.net to get a copy of this message
hmm, now that i\'m trying to program with register_globals=off, what is the new $HTTP_SESSION_VARS? maybe there should be a page in the online manual describing these new variables for easy reference after all, i can\'t find reference to them other than those on the changelog too. thanks David > >Two items in the new 4.10 change-log caught my attention: > >* Introduced a new $_REQUEST array, which includes any >GET, POST or >COOKIE variables. Like the other new variables, this >variable is also >available regardless of the context. (Andi & Zeev) >* Introduced $_GET, $_POST, $_COOKIE, $_SERVER and $_ENV >variables, which >deprecate the old $HTTP_*_VARS arrays. In addition to be >much shorter to type - these >variables are also available >regardless of the scope, and there\'s no need to import >>them using the \'global\' statement. (Andi & Zeev) > >However, I can\'t seem to find any documentation regarding >these variables on the >php.net site. Any pointers? Am I >missing something obvious? Thanks!

« previous php.general (#78755) next »