note 77602 deleted from security.globals by danbrown

From: Date: Thu, 15 Jan 2009 16:23:14 +0000
Subject: note 77602 deleted from security.globals by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-149267@lists.php.net to get a copy of this message
Note Submitter: Mike Willbanks ---- Sorry the last php code I submitted was formatted nice but I changed some things for readability and didn't implement it across the board. Here is the correct code: <?php if (ini_get(register_globals)) { $rg = array_keys($_REQUEST); foreach($rg as $var) { if ($_REQUEST[$var] === $$var) { unset($$var); } } } ?>

« previous php.notes (#149267) next »