You can use the HTTP_*_VARS for now, but they are depreciated. They will
work right now on most any version of PHP.
I would just maintain two different versions, one for PHP 4.2+ and one
for earlier versions. Sure, it's a little more of a pain...though...
> -----Original Message-----
> From: Simon Troup [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, June 23, 2002 7:46 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] PHP 4.2
> I've written a small freeware script that gets installed on a variety
> different platforms running various PHP versions.
> I've read through the manual about the super global arrays and how
> get vars are no longer registered by default, but am confused about
> would be a good idea to "upgrade" the script.
> If I change everything in the script and use $_GET and $_POST etc.
> those people who are still using earlier versions won't be able to
> Does anyone know what the uptake of the latest version is? What is
> else doing about this? If I were developing for one client it wouldn't
> problem as obviously you'd know what you were developing for.
> I'd just like some feedback on when would be a good time to upgrade
> scripts while causing the minimum disruption and maintaining maximum
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php