I think, you can write some wrapper arround this and in some config file just add one variable which will tell the script about PHP version. so You can than use something like this:
switch (VERSION) { case 4.0: .......... } DS -----Original Message----- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 1:47 PM To: Leif K-Brooks; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Variables don't pass... *sniff* [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 -- 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