3 if(get_magic_quotes_gpc()){
4 $process = array(&$_GET, &$_POST, &$_COOKIE, &$_REQUEST);
5 while(list($key, $val) = each($process)){
6 foreach($val as $k => $v){
7 unset($process[$key][$k]);
9 $process[$key][stripslashes($k)] = $v;
10 $process[] = &$process[$key][stripslashes($k)];
12 else $process[$key][stripslashes($k)] = stripslashes($v);