Why is register_globals off ? How can I turn php directive register_globals On ?

For security reasons, and to enforce good coding and script design, on all shared-hosting (virtual hosting) servers, the PHP setting register_globals = Off

If you really require register_globals = On which is NOT ADVISED, you should instead set it to on in your local .htaccess or fix the poor coding in your application/script(s) that require the setting On.

The register_globals directive is off by default as of PHP 4.2.0 for a reason !

As you're still reading you obvioulsy feel you muct have the seeting on so ...
create (or modify) your .htaccess file in the appropriate web directory with:
php_value register_globals 1

For more information, please see http://www.php.net/security.registerglobals

To learn the correct methods for using external variables please see http://www.php.net/variables.external

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

May I upgrade at a later time?

Yes, you can easily upgrade your account at anytime. Simply click "upgrade" in the Client Portal...

How soon can my account be setup ?

For shared hosting services, our system will automatically activate your account and send you...

How do I backup and restore my Website and databases ? How do I move my sites from my current host to Astutium?

If your old host is also using WHM/CPanel then there is a reasonably simple procedure to move...

How do I use SSI (server Side Includes) ?

Web pages that use SSI (server side includes) by convention should be named with the .shtml file...

How Do I Create a RoR (Ruby on Rails) Application ?

To make your first RoR (Ruby on Rails) application in your Astutium Business, ECommerce or...

Powered by WHMCompleteSolution