RE: [PHP] Re: php 4.1.1 vs 4.0.6
| From: | Scott Brown | Date: | Sat, 02 Mar 2002 23:51:13 +0000 |
| Subject: | RE: [PHP] Re: php 4.1.1 vs 4.0.6 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86930@lists.php.net to get a copy of this message | ||
So - to confirm...
If upgrading from a 4.0.x up to a 4.1.x version, putting register_globals =
on in the /etc/php.ini will ensure that old code continues to run.
But in the long term (ie, in some future php version), the $HTTP_* vars will
no longer be supported.
Is this correct?
> -----Original Message-----
> From: Andrey Hristov [mailto:ahristov@icygen.com]
> Sent: February 23, 2002 12:53 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Re: php 4.1.1 vs 4.0.6
>
>
> In 4.1.x series there are new vars (global scope)
> $_GET,$_POST,$_COOKIE,$_FILES,$_SESSION
> not available in 4.0.x versions. For old scripts could be
> problem that register_globals is off in the 4.1.x tree(for new
> installations, not upgrades). But this is for good.
>
> Regards,
> Andrey Hristov
>