*confused*
*confused*
As Caleb said $_GET won't be getting removed as it's a super global.
Calon, you fail. When register_globals is turned on, say if you do:
Somebody could append the URL with "&user=admin," thus activating admin stuff.PHP Code:
if($user == 'admin') { // I don't know why you'd do this, but it's an example.
Therefore it can be very insecure. Superglobals are variables in PHP that hold data, (in arrays.. or objects(?) I believe, someone correct me if I'm wrong), such as $_GET, $_FILES, $_SESSION, $_SERVER, $_POST, $_REQUEST, $GLOBALS, $_COOKIE, $_ENV and whatever else I haven't had enough coffee to mention.
How could this hapen to meeeeeeeeeeeeeee?lol.
Did you get sacked as site coder?Calon, you fail. When register_globals is turned on, say if you do:
Somebody could append the URL with "&user=admin," thus activating admin stuff.PHP Code:
if($user == 'admin') { // I don't know why you'd do this, but it's an example.
Therefore it can be very insecure. Superglobals are variables in PHP that hold data, (in arrays.. or objects(?) I believe, someone correct me if I'm wrong), such as $_GET, $_FILES, $_SESSION, $_SERVER, $_POST, $_REQUEST, $GLOBALS, $_COOKIE, $_ENV and whatever else I haven't had enough coffee to mention.
WTH IS $_GET?
I'm only joking, nobody needs to bother explaining it to me .
Want to hide these adverts? Register an account for free!