Re: 4.10 New Vars Question
| From: | Philip Olson | Date: | Wed, 26 Dec 2001 04:20:16 +0000 |
| Subject: | Re: 4.10 New Vars Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78753@lists.php.net to get a copy of this message | ||
because they are not documented yet, but, will be. there really is
nothing else to say besides what you quoted, they act like their
counterparts except these new ones are global.
by counterparts i mean _GET == HTTP_GET_VARS so the manual entries on
those will apply. see the predefined variables section of manual and
phpinfo().
regards,
Philip Olson
On Tue, 25 Dec 2001, Edward Marczak wrote:
> Hello!
>
> 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!
>
> --
> Ed Marczak
> marczak@usa.net
>
>
> --
> 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
>