By default, PHP 5.x has globals OFF by default -- which is an excellent idea. Why turn it ON and reduce security when you don't or shouldn't, need to.
When using PHP 5.x you cannot put PHP directives in an .htaccess file. Instead, you create a 'php.ini' file and put them in there. Using the PHP 4.x example provided by "mtnguy", when PHP 5.x is being used you enter your directives like so:
register_globals = On
Some older scripts/versions do require globals to be on and that will slowly change as newer scripts and/or script versions, update their coding to use tighter code and better security. ZenCart would be one of those scripts that does not require globals to be On.
Bookmarks