Home > PHP > How to enable register_globals

How to enable register_globals

PHP register_globals setting is set to OFF on our servers for security reasons. All modern scripts these days do not use register_globals and if you get any errors related to register_globals being disabled, you may want to check your coding or contact script developers for assistance.

However, it is possible to enable register_globals by entering this line to your .htaccess file:

php_flag register_globals on

We do not recommend enabling this function as it may lead to possible security issues with your website.