Live Chat

Knowledgebase

How can I enable register_globals for my account?

"Register_globals" is a PHP Directive. This is no longer being used in the newer version of PHP and therefore has been deprecated.
For security reasons, we have disabled "register_globals" at the server level. However, if your script still needs it, you can enable it yourself for your individual hosting account. To enable it, add the following line of code to file /public_html/.htaccess :

php_flag register_globals on

NOTE: The above trick works ONLY with PHP-5 and does NOT work if you are using PHP-4. By default, all our servers run PHP-5.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article