PHP HTML消毒剂 [英] PHP HTML sanitizer
本文介绍了PHP HTML消毒剂的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道是否有人使用过此类,并且发现它是可靠的?
I'm wondering if anybody has used this class and found it to be reliable?
http ://www.phpclasses.org/package/3746-PHP-Remove-unsafe-tags-and-attributes-from-HTML-code.html
非常感谢!
推荐答案
我推荐 http://htmlpurifier.org/ HTML Purifier,用于安全地清洁字符串.
i recommend http://htmlpurifier.org/ HTML Purifier for cleaning strings safely.
这篇关于PHP HTML消毒剂的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文