Re: Version 4.1.0's New Input Mechanism
| From: | Rasmus Lerdorf | Date: | Tue, 11 Dec 2001 19:08:43 +0000 |
| Subject: | Re: Version 4.1.0's New Input Mechanism | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-77331@lists.php.net to get a copy of this message | ||
> The arrays $_GET, $_POST, $_COOKIE, $_SERVER contain exactly the same data
> as the arrays $HTTP_GET_VARS, $HTTP_POST_VARS, $HTTP_COOKIE_VARS,
> $HTTP_SERVER_VARS. Try this to see for yourself:
Yes, the new names are just to give people a shorter auto-global mechanism
to access this same data.
> May I ask why? What is the problem with the 'traditional' $HTTP_*_VARS
> arrays? Are these arrays going to be depreciated in the next version too?
Nope, they will be kept.
-Rasmus