剥离标签和PHP之间的所有内容?

前端之家收集整理的这篇文章主要介绍了剥离标签和PHP之间的所有内容?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我将如何去除脚本标签,以及其中的所有内容使用 PHP
正如David所说,如果您正在寻找消毒传入的数据,则仅过滤脚本标签是不够的. HTML Purifier承诺做全包:

HTML Purifier is a standards-compliant HTML filter library written in PHP. HTML Purifier will not only remove all malicIoUs code (better known as XSS) with a thoroughly audited,secure yet permissive whitelist,it will also make sure your documents are standards compliant,something only achievable with a comprehensive knowledge of W3C’s specifications.

原文链接:https://www.f2er.com/php/131774.html

猜你在找的PHP相关文章