Use .htaccess to turn on or off PHP Register Globals without editing your php.ini.This is a great way to enable older php scripts to run without making your whole site insecure.
Simply create a .htaccess file in the base directory of your web content or in the directory of the php script you wish to allow or disallow pHP Registers Globals.
This is a great way to debug certain scripts without effecting the whole site.
php_flag register_globals on
OR
php_flag register_globals off