| @@ -602,7 +602,7 @@ if (!function_exists('CheckSql')) { | |||||
| //$notallow2 = "--|/\*"; | //$notallow2 = "--|/\*"; | ||||
| if (preg_match("/".$notallow1."/i", $db_string)) { | if (preg_match("/".$notallow1."/i", $db_string)) { | ||||
| fputs(fopen($log_file, 'a+'), "$userIP||$getUrl||$db_string||SelectBreak\r\n"); | 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)) { | if (!empty($fail)) { | ||||
| fputs(fopen($log_file, 'a+'), "$userIP||$getUrl||$db_string||$error\r\n"); | 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 { | } else { | ||||
| return $db_string; | return $db_string; | ||||
| } | } | ||||
| @@ -609,7 +609,7 @@ if (!function_exists('CheckSql')) { | |||||
| //$notallow2 = "--|/\*"; | //$notallow2 = "--|/\*"; | ||||
| if (preg_match("/".$notallow1."/i", $db_string)) { | if (preg_match("/".$notallow1."/i", $db_string)) { | ||||
| fputs(fopen($log_file, 'a+'), "$userIP||$getUrl||$db_string||SelectBreak\r\n"); | 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>"); | |||||
| } | } | ||||
| } | } | ||||
| @@ -680,7 +680,7 @@ if (!function_exists('CheckSql')) { | |||||
| } | } | ||||
| if (!empty($fail)) { | if (!empty($fail)) { | ||||
| fputs(fopen($log_file, 'a+'), "$userIP||$getUrl||$db_string||$error\r\n"); | 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 { | } else { | ||||
| return $db_string; | return $db_string; | ||||
| } | } | ||||