[Advanced] How to Change the register_globals

ARTICLE FOR ADVANCED USERS

register_globals is a setting of the PHP programming language that allows the execution of scripts written in a slightly unsecure fashion, so as to accept any variable sent via an online form, directly with that variable's name.

Please note that activating this parameter can cause security risks if the script is not secure

By default, this parameter is deactivated. It can, however, be activated with the following steps:

  1. Connect to your account either via FTP, SSH, or via the File Manager in the cPanel.
  2. Browse to the folder containing the script.
  3. Create a file called php.ini containing the following line: register_globals = On;
  4. Save the file. Repeat these steps in every folder that includes a script requiring this feature.

That's it!

  • 0 Пользователи нашли это полезным
Помог ли вам данный ответ?

Связанные статьи

Professional Webmaster Help

The Professional Webmaster Help service is available to all of our customers at a rate of...

How Can I Transfer my Domain Name and Website to Solutionz-eWeb?

By transferring your domain name (or website) to Solutionz-eWeb you'll be benefiting from one of...

How to change my document root folder using an .htaccess file?

By default your main website is loaded from the public_html folder of your account. The...

How to Create a favicon (website address bar icon)

What is a favicon?A favicon is a small image that is displayed in your browser next to the...

How to redirect all website visitors to a subfolder of your domain

To redirect all your visitors to a subfolder on your domain, for example www.domain.com to...

Powered by WHMCompleteSolution