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 Register Globals.
This is a great way to debug certain scripts without affecting the whole site.
php_flag register_globals on
or
php_flag register_globals off