『壹』 php如何过滤编辑器的html标签
选择1.将特殊符号进行转换,可以用htmlspecialchars把<变为“<”等选择2.用正则表达式替换,将标签都删除:$content=preg_replace('/\<.+?\>/','',$content);