What is register_globals in php?

Answer Posted / sk wazid hussain

when register_globals is set to ON in php.ini?? When it is
set to ON it registers Environment, GET, POST, COOKIE or
Server variables as global variables i.e. you don’t need to
write $_POST['username'] to access the posted ‘username’
variable you can simply use ‘$username’ to access the
$_POST['username'].

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is polymorphism with example in php?

517


What does empty mean in php?

539


How can I use single quotes in single quotes in php?

465


What is sorting php?

519


Can we use session in mvc?

562






What is scope of variable in php?

582


Why do you need to filter out empty files?

536


What are the uses of php language?

540


Is php a case sensitive language?

619


What is the use of explode() function?

569


Can I learn laravel without php?

576


How to convert a json string to an array in php?

559


What is a php trait?

493


What is warning – “cannot modify header information – headers already sent”?

640


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

471