MySQL数据库中的T表subject列有大量的恶意脚本 不太明白你的意思 http://scriptlover.com/pages/article.asp?ArticleID=43 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 http://topic.csdn.net/t/20001230/13/53631.html#update your_table set your_field=replace(your_field,你的特殊字符,'') 试试吧update your_table set your_field=replace(your_field,"\"\> \</title> \<script src=http://s.see9.us/s.js\> \</script\> \<!-- ",'') 用PHP先把记录读出来然后for一下即可,替换函数可用下面的function filterHtml($content) { $content=preg_replace('/<script.*?<\/script>/ius','',$content); $content=preg_replace('/<\/?(a|!|img|span|div|i?frame|font|input|form|textarea)[^>]*>/iu','',$content); return $content; } preg_replace("/<(.*?)>/is","",$c); php smart 模板的简单问题 关于php setcookie()函数的问题 PHPCMS 中怎么做调用分页标签不显示效果了在线等.....麻烦知道的进! 这样的站做多少钱? php zip问题,懂的看下。 如何统计活跃用户数? 请问mysql开设新用户的时候,对localhost的权限通常选择什么? session的问题session_register(能不能为变量) cookie问题 用realplayer实现在线播放。总提示我要去realplayer网站进行updata, MySQL数据库中的T表subject列有大量的恶意脚本 求一正则 (原因未明)
function filterHtml($content)
{
$content=preg_replace('/<script.*?<\/script>/ius','',$content);
$content=preg_replace('/<\/?(a|!|img|span|div|i?frame|font|input|form|textarea)[^>]*>/iu','',$content);
return $content;
}