foreach ($_GET as $getstr) {
if (eregi('\'|<|>|char|union|select|bench|,|`',$getstr)) {
header("Location: not_guery.php");
exit;
}}
foreach ($_POST as $poststr) {
if (eregi('\'|char|union|select|bench|alert|`',$poststr)) {
header("Location: not_guery.php");
exit;
}}