Enable register_global through .htaccess

June 17, 2008 · Posted in apache, php 

I would not recommend to enable register_globals, but if you need to enable the register_globals for a particular web folder, you can edit the .htaccess file and append the following to it

php_flag register_globals on

Restart apache and you are on your way.

Comments

Leave a Reply