$v){ $_GET[$k]=htmlspecialchars($v); } } if(!empty($_POST)){ foreach($_POST as $k=>$v){ $_POST[$k]=htmlspecialchars($v); } } ?>