This article describes how to enable and disable the register_globals directive in a custom php.ini file.
When the register_globals directive is enabled, PHP creates variables automatically from HTML form parameters and cookie data. To enable this functionality, use a text editor to modify the register_globals directive in the php.ini file as follows:
register_globals = on
To disable this functionality, modify the register_globals directive in the php.ini file as follows
:register_globals = off
Subscribe to receive weekly cutting edge tips, strategies, and news you need to grow your web business.
No charge. Unsubscribe anytime.
Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.
We use cookies to personalize the website for you and to analyze the use of our website. You consent to this by clicking on "I consent" or by continuing your use of this website. Further information about cookies can be found in our Privacy Policy.