\n";
foreach ($_GET as $k => $v) {
$v = htmlentities($v, ENT_QUOTES);
preg_replace('/([\'"`\'])/', '', $v);
$_GET[$k] = $v;
if($debug)
echo "GET $k=\"$v\"
";
}
foreach ($_POST as $k => $v) {
$v = htmlentities($v, ENT_QUOTES);
preg_replace('/([\'"`\'])/', '', $v);
$_POST[$k] = $v;
if($debug)
echo "POST $k=\"$v\"
";
}
if($debug)
echo "secure.php END
\n";
?>