if (@ini_get('register_globals'))
foreach ( $_REQUEST as $name => $value )
unset($$name);
Nice Anti Register Globals Code
Found in Textpattern: