Such a global change to the .user.ini config is a well-known security risk and affects all other customers and isn't something we recommend doing unless you are aware of the risks and there is no better way to achieve what you intend to.
However, you can set that and any other variable using the method below. You can create your own .user.ini file inside whatever subdirectory your script is in. You can then determine the exact behaviour for your PHP scripts yourself.
There's a lot of documentation on how to use the various configuration features inside .user.ini available here In this case, to set register globals on, you can just create a file called .user.ini in the subdirectory of your website that the script is in, simply adding:
register_globals = on
Knowledgebase
- 0 Users Found This Useful
