|
|
@@ -602,7 +602,7 @@ if (!function_exists('CheckSql')) { |
|
|
|
//$notallow2 = "--|/\*";
|
|
|
|
if (preg_match("/".$notallow1."/i", $db_string)) {
|
|
|
|
fputs(fopen($log_file, 'a+'), "$userIP||$getUrl||$db_string||SelectBreak\r\n");
|
|
|
|
exit("<font size='5' color='red'>Safe Alert: Request Error step 1 !</span>");
|
|
|
|
exit("<span>Safe Alert: Request Error step 1 !</span>");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
@@ -673,7 +673,7 @@ if (!function_exists('CheckSql')) { |
|
|
|
}
|
|
|
|
if (!empty($fail)) {
|
|
|
|
fputs(fopen($log_file, 'a+'), "$userIP||$getUrl||$db_string||$error\r\n");
|
|
|
|
exit("<font size='5' color='red'>Safe Alert: Request Error step 2!</span>");
|
|
|
|
exit("<span>Safe Alert: Request Error step 2!</span>");
|
|
|
|
} else {
|
|
|
|
return $db_string;
|
|
|
|
}
|
|
|
|