RE: [PHP] Variables don't pass... *sniff*
| From: | Jay Blanchard | Date: | Wed, 28 May 2003 11:46:32 +0000 |
| Subject: | RE: [PHP] Variables don't pass... *sniff* | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-149227@lists.php.net to get a copy of this message | ||
[snip]
To maintain absolute compatibility, just use $HTTP_GET_VARS. It's
availalable in all PHP versions, just deprectaed in versions here $_GET
is available.
[/snip]
Just to be perfectly clear on this. Let's say that I am writing an
application that I am going to release to the public (for free of
course!). In order that the application be as compatible with the many
installed versions of PHP as possible I should always use $HTTP_GET_VARS
or $HTTP_POST_VARS ? Or is there a point at which the formation of the
variable call changes (like the $_GET and $_POST in the latest
versions)? If there is a point at which it changes how can I account for
that in code, other than telling the potential use that "you must be
running PHP 4.x.x"?
Thanks!
Jay