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); 实现一个类似于QQ(离开)状态的功能 PHP传递数据给javascript? (菜鸟飞飞)问个页面之间传值的问题 希望各界程序员朋友一起和我讨论这个问题,谢谢 EclipsePHP Studio 2008的一个问题 php源码大全 大家把手中的源码站点公布一下吧,以后也方便你找东西! 十万火急!!考试系统 评分问题?叩谢了 用户登录控制问题! GD库合并gif 图像之后 没有动态效果了 如何用PHP读出EXECL中的数据,在线等 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;
}