Top Nav

Turn on PHP register_globals with .htaccess file

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:

Email
Print