Script requires register globals to be on

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
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Can I use a php tag in my html page?

Yes, you can use php tag within html pages. All you have to do is to embed php with html in...

Which version of PHP is installed on your servers?

All servers are currently running version 5.2.6. Safe mode is turned off for all hosting accounts.

I cannot connect to my MySQL database remotely

Sorry but we do not permit remote MySQL access as this is a security risk.