Limited Time Offer - from ₱35.00/month
00
DAYS
10
HOURS
35
MINUTES
05
SECONDS
Get Started
×

Knowledge base

Find information and articles about features, guides for troubleshooting,
and other useful information related to Hostinger's web hosting services.

How to enable register_globals?

Modified on:
php register_globals register_globals

PHP register_globals is set to OFF by default on our servers for security reasons. All modern scripts do not use register_globals anymore because of the security risks and we also highly recommend not to use it on your website. It's also only available on older PHP versions (5.4 and up no longer support register_globals at all)

However, it is possible to enable register_globals by using your .htaccess and php_flag. All you need to do is add this line to your .htacces file:

php_flag register_globals on

  • Easy Website Builder
  • 99.9% Uptime Guarantee
  • 24/7 Live Support
  • Powerful Control Panel
  • 30-Days Money-Back Guarantee
Limited Time Special Offer!
From
35
00
/mo
Save 90%
Get started