
Re: Question About Register Globals
Prego kind sir
Actually I should rephrase that first bit: "to my knowledge all the page variables that get used here are superglobals"...
Maybe in some peripheral mod like cash, activity or knowledgebase, which I never use / inspect code of (and too lazy too), possibly some var uses globals rather than superglobals, though I doubt it. I question the sanity of any mod author who writes something that depends on register globals being on, and those mods are advanced enough level to be written by intelligent authors who understand such things...
BTW an obvious way to check such things is how the script handles user input. If a variable is obtained using something like
$var = !empty($_POST['var'])?$_POST['var']:$some_default _value;
then superglobals is being used, and all is well. If the script handles user input, and there isn't a $_POST, $_GET or $_REQUEST in sight, then it depends on register globals being on...