Thursday, 9 October 2014

How to enable and disable the PHP register_globals directive?

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

No comments:

Post a Comment

Feet/Inches to Meters Converter & Lbs to Kgs Converter

 <!DOCTYPE html> <html lang="en"> <head>   <meta charset="UTF-8" />   <title>Feet/Inches ⇄...