RE: [PHP] Using register_globals

From: Date: Thu, 05 Jun 2003 20:22:28 +0000
Subject: RE: [PHP] Using register_globals
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-150404@lists.php.net to get a copy of this message
On Thu, 2003-06-05 at 05:28, Jay Blanchard wrote: > [snip] > Another issue I haven't read so far is that making your script work when > register_globals is off makes it to be more compatible since scripts > using GET and POST array should still work on systems that have > register_globals turned on. > [/snip] > > So what you're asking for is a variable handler that will take care of > things whether or not register_globals is turned on or off and you want > the variables considered across a range of PHP versions? If so there > have been many of those ideas posted, check the archives. > > HTH! > > Jay I think he was just saying the using $_GET and $_POST is a better way to make sure that your script is compatible across as many installations and version than using register_globals = on, since it will always work. :) Torben -- Torben Wilson <torben@php.net> +1.604.709.0506 http://www.thebuttlesschaps.com http://www.inflatableeye.com http://www.hybrid17.com http://www.themainonmain.com -----==== Boycott Starbucks! http://www.haidabuckscafe.com ====-----

« previous php.general (#150404) next »