01223 850 730  |  hello@primexeon.com  |  Home  |  About Us  |  Contact Us
PrimeXeon Logo
Hosting Servers Services Domain Names Special Offers Client Area

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


Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read