What is register_globals in php?

Answer Posted / vikash shrivastva

register_globals=On: helps to access all form attribute
without Global Array i.e. GET[], POST[] & REQUEST[]. we can
access all attributes using $+attribute names.
But When register_globals=Off we have to access all
attributes only by Global Arrays

Is This Answer Correct ?    29 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What kind of variable is age?

598


What is php and how do you use it?

527


Does php need apache?

496


Tell us how to redirect a page in php?

537


Tell me what is the difference between get and post?

473






How can a cross-site scripting attack be prevented by php?

532


What are the different ways to login to a remote server? Explain the me, advantages and disadvantages?

533


How to remove a file?

604


Is empty array php?

538


How does html form submit work?

516


Is php easy language to learn?

571


Why overriding is called runtime polymorphism?

522


How can you retrieve data from the mysql database using php?

541


Does jwt protect against csrf?

483


Explain what is the difference between mysql_fetch_array() and mysql_fetch_assoc()?

463