We would strongly suggest avoiding enabling register_globals in global PHP configuration as this may lead to different security-related issues. Please refer to the following article on php.net site regarding the register_globals and the ways to work with variables while register_globals is turned off: http://us2.php.net/register_globals
If register_globals must be enabled, then it will be better to do this only for directory/subdirectory where your have installed some particular application which can’t work while register_globals is disabled. To do this just create/edit .htaccess file in the directory where you have this application installed and add following line:
php_flag register_globals on.

Note: This will work only if PHP is compiled into Apache as module.

About Author

Leave a Reply

Your email address will not be published. Required fields are marked *