It is of course a bad idea to write code that depends on register_globals for security reason, but sometimes when faced with old code it’s a necessary evil. You can turn on register_globals for a site or directory by adding the following line to your .htaccess file:
1 |
php_flag register_globals on |