register_globals

It can be considered as a flag that controls how you access form, server, and environment variables. By default this variable is set to Off, requiring you to use special arrays to access these variables. Its values are set in php.ini file .When the value is set to “on” , PHP will dynamically create global variable for many server variable as well as the query string parameters .

Its always better to set the value as “off”

Leave a Reply

Your email address will not be published. Required fields are marked *