Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is register_globals in php?

Answer Posted / imteyazhaider

When on, register_globals will inject your scripts with all
sorts of variables, like request variables from HTML forms.
This coupled with the fact that PHP doesn't require
variable initialization means writing insecure code is that
much easier. It was a difficult decision, but the PHP
community decided to disable this directive by default.
When on, people use variables yet really don't know for
sure where they come from and can only assume. Internal
variables that are defined in the script itself get mixed
up with request data sent by users and disabling
register_globals changes this.

Is This Answer Correct ?    20 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is full form of PHP?

1081


Explain Whitespace Characters?

1040


How arrays are used in php?

1046


What are encryption functions in php?

1090


How to get the IP address of the client/user in PHP?

952


Do you know what is the difference between mysql_fetch_object() and mysql_fetch_array()?

993


What is php built on?

972


Difference between get and post method.

993


What is session in php w3schools?

1051


Is php a strongly typed language?

1000


List some of the features of php7.

985


How do you count numbers in php?

958


What are constructor and destructor in PHP?

1091


Is it possible to protect special characters in a query string?

985


How to check an element is exists in array or not in php?

1052