[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:
- Connect to your account either via FTP, SSH, or via the File Manager in the cPanel.
- Browse to the folder containing the script.
- Create a file called php.ini containing the following line: register_globals = On;
- Save the file. Repeat these steps in every folder that includes a script requiring this feature.
Article ID: #HC5021