[cc]function format_str1($str){
$str = str_replace(“\r\n”,””,$str);
$str = str_replace(“\n”,””,$str);
$str = str_replace(“\r”,””,$str);
$str = str_replace(“‘”,”&#39″,$str);
$str = str_replace(“\””,”б▒”,$str);
$str = str_replace(“<","г╝",$str); $str = str_replace(">“,”г╛”,$str);
$str = str_replace(“php”,””,$str);
//$str = str_replace(“?”,”г┐”,$str);
$str = str_replace(“eval”,””,$str);
$str = str_replace(“%”,”ге”,$str);
$str = str_replace(“$”,””,$str);
$str = str_replace(“script”,” “,$str);
//$str = str_replace(“=”,” “,$str);
$str = str_replace(“and”,” “,$str);
$str = str_replace(“select”,” “,$str);
$str = str_replace(“delete”,” “,$str);
$str = str_replace(“update”,” “,$str);
return $str;
}[/cc]

发表评论

您的电子邮箱地址不会被公开。