Home > PHP > register_globals

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”

EmailFacebookLinkedInMySpaceDiggTumblrStumbleUponShare
Beginner's Guide....
Categories: PHP Tags: ,
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.

Switch to our mobile site