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. This will not with if PHP is being executed through suexec.
- 0 gebruikers vonden dit artikel nuttig
Gerelateerde artikelen
Powered by WHMCompleteSolution