image description
Web hosting FAQ & Knowledge base

Knowledge Base Articles

Can you set register_globals ON / OFF ?

PHP register_globals feature is set to OFF on our servers for security reasons. All modern scripts, these days do not use register_globals, and if you get any errors related to register_globals being disabled, you may want to check your coding or contact script developer for more details.

However, it is possible to enable register_globals by entering this line to your .htaccess file:

php_flag register_globals on

We do not recommend enabling this function as it may lead to possible security problems for your website.


Go back
Hostinger logo
Limited time offer. From $1.99/month
:
:
:
Get started
keyboard_arrow_up Swipe Up
Hostinger logo

Limited time offer

80% OFF

From $1.99/month

Get Hostinger’s Fast & Secure Web Hosting with an SSL Certificate for FREE!

:
:
:
Get started now
Close