Script requires register globals to be on Print

  • 0

The default on most servers with the latest versions of PHP for register_globals is to have it disabled. This provides greater security on the server and makes it more difficult for hackers to exploit scripts.

However, some old scripts still need register_globals enabled to work, and so the the way around this is to create a .htaccess file in the directory of the script concerned with the following contents:

php_flag register_globals on

This allows this directory to over-ride the server default where register_globals=off

Was this answer helpful?

« Back