Enable PHP with Register Globals Turned On

This setting applied to both PHP version 4.x and 5.x.

After this tutorials, you will be able to enable PHP engine for your website which is having register_global turned "On".

To enabled PHP engine with register_globals turned on, follow the following steps:

Windows Hosting Server

1. Login into HELM control panel

2. Go to "Domains" >> Click on the domain name >> "Advanced Domain Options" >> "PHP Version"

3. Select "PHP 4.x - Register_global On" (if you are using PHP version 4.x) OR "PHP 5.x - Register_global On" ( if you are using PHP version 5.x).

4. Click on "Save" button.

Linux Hosting Server

Enabling register_globals in Linux server environment is rather straight forward.

All you need to do is :

1. Edit the .htaccess file in the public_html folder.

2. Add the following lines into the .htaccess file:

   php_flag register_globals on

3. Save the .htaccess file.

  • 0 Користувачі, які знайшли це корисним
Ця відповідь Вам допомогла?

Related Articles

Safe Mode and open_basedir

Safe ModeThe PHP safe mode is an attempt to solve the shared environment server security problem....

PHP Send Mail (HTML) Script

  Line No Coding 1 2 $to = 'user1@OtherDomain.com' . ','; //Specify...

Enable display_errors In PHP

Enable display_errors For PHP The web server by default do not have the display_errors turned on...

PHP increase the session timeout

If you wish to increase the session timeout, you may include the following command line in to the...

Do You Support $_Server['DOCUMENT_ROOT'] ?

$_Server['DOCUMENT_ROOT'] is referring to doc_root value in php.ini which is currently set to...