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

Echo is used to Display message on screen. Which is used with echo to not output the trailing newline?

578


Why do we use javascript in php?

529


How to read a file in php?

525


How can image properties be retrieved in php?

543


How can you encrypt password using php?

517






What is session and Cokkies . How it works . tell some thing about Session_id()

1540


What is the capacity of mysql database?

565


What is difference between php and wordpress?

504


What is php static function?

539


Can constructor be private in php?

540


Explain some of the php array functions?

580


Is php developer in demand?

510


What is a trait in php?

574


What is the static variable in function useful for?

533


Do you have to initialize variables in php?

492