Enable/Disable register_globals

Enable/Disable register_globals

The most common setting that clients will want to change are the register_globals settings. If you want to enable register_globals, you will need to create a .htaccess file in your site’s main directory (or the main directory of your site that contains PHP hosting scripts). Your .htaccess file should contain the following line: php_flag register_globals on

If you want to disable register_globals then your .htaccess file should contain the following line:

php_flag register_globals off

Sharing

Leave your comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.