This is regarding the PHP global variables. Does it mean the global variables are simply assigned values through the HTTP request(ie: Varaibles where pre-existing but without values), or that the variables are “instantiated” and assigned values(ie: variable where not pre-existing in script)?
I am yet to see any text which explains.
This is regarding the PHP global variables. Does it mean the global variables are
Share
PHP’s
register_globalswill create the appropriate global variables and assign values to them. Note that it’s probably a really bad idea to useregister_globals, since it poses a security risk. It’s better to use the superglobal arrays$_POST,$_GETand$_COOKIE.