How to Enable register_globals

There are softwares that requires register_globals enabled. This directive is PHP setting which registers the $_REQUEST array’s elements as variables. If you submit a value in a form, via POST or GET, the value of that input will automatically be accessible via variable in the PHP script, named after the name of the input field.

Here are two ways on how to you can enable the register_globals directive:

via php.ini

1. Create/edit the php.ini file.
2. Type or copy this in the file:

3. Upload the file to the folder that contains the script or save the changes.

Refresh your website or the page of your website and check if the website is now working.

via .htaccess

1. Create/edit the .htaccess file.
2. Type or copy this in the file:

3. Upload the file to the folder that contains the script or save the changes.

Refresh your website or the page of your website and check if the website is now working.

Please don’t hesitate to contact our 24/7 Singapore or Australia Support Team, they’ll be happy to help.

(Visited 139 times, 1 visits today)