[Tips] How to turn on register_globals using .htaccess

Some times we need to turn on register global for any reason. Here is the way how to enable your register_global using .htaccess file.

php_flag register_globals on

But that not recommended, because you will open the hole for hacker to inject some command to your hosting/server. So if you need turn it off just follow this step

php_flag register_globals off

Have fun for register_global.