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

Why use php artisan serve?

513


What are the benefits of using php?

524


Define soundex()?

517


How to count all the lines of code in a directory and sub folder?

518


How can php and javascript interact?

751






What is the use of token in php?

518


What is the use of explode() function?

582


What is the use of $_server and $_env?

581


How can we access the data sent through the url with the post method?

515


Is c similar to php?

499


Tell me how to strip whitespace (or other characters) from the beginning and end of a string?

540


What are the differences between mysqli_connect and mysqli_pconnect?

543


How to take a substring from a given string?

541


Can php variables have numbers?

535


Explain what does the function get_magic_quotes_gpc() means?

528