Re: Small bug on website...
| From: | Gabor Hojtsy | Date: | Mon, 15 Jul 2002 10:55:58 +0000 |
| Subject: | Re: Small bug on website... | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-11310@lists.php.net to get a copy of this message | ||
> There is a small bug on http://www.php.net/tut.php page:
> $HTTP_POST_VARS should be changed to $_POST
> (This changed somewhere in 4.1.2 version)
This is not a bug, and this is not changed. $_POST is a new
way of accessing the data and it's not a replacement, nor the
same in behaviour as $HTTP_POST_VARS. They are similar though.
$HTTP_POST_VARS will continue to function in every PHP 4.x and
probably PHP 5.x, etc... So this example is better then if it
would use $_POST, as know it works with PHP versions before
4.1.2...
Goba [one webmaster@php.net]