RE: [PHP] Variables don't pass... *sniff*
| From: | Ford, Mike [LSS] | Date: | Thu, 29 May 2003 09:25:16 +0000 |
| Subject: | RE: [PHP] Variables don't pass... *sniff* | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-149361@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: David Grant [mailto:david.grant@wiredmedia.co.uk]
> Sent: 28 May 2003 12:47
> To: Leif K-Brooks
> Cc: daniel@rhesusb.dk; php-general@lists.php.net
> Subject: Re: [PHP] Variables don't pass... *sniff*
>
>
> Leif K-Brooks wrote:
>
> > To maintain absolute compatibility, just use $HTTP_GET_VARS. It's
> > availalable in all PHP versions, just deprectaed in
> versions here $_GET
> > is available.
>
> I would've thought that $HTTP_*_VARS will be deprecated
> sometime in the
> future.
$HTTP_*_VARS are *already* deprecated -- this means that they *may* be removed some time in the
future.
In fact, I'm pretty sure that PHP5 is planned to come with a php.ini setting to suppress
$HTTP_*_VARS -- so better start coding now for future environments where $HTTP_*_VARS no longer
exist.
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211