The reality of Stefan Scholl

"I hope there's pudding"

Nice Anti Register Globals Code

Found in Textpattern:

if (@ini_get('register_globals'))
foreach ( $_REQUEST as $name => $value )
unset($$name);
Tags: PHP, Textpattern
Comments