PHP输入消毒剂? [英] PHP input sanitizer?
本文介绍了PHP输入消毒剂?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
什么是一些好的PHP html(输入)消毒器?
What are some good PHP html (input) sanitizers?
最好是内置的东西-我想要我们.
Preferably, if something is built in - I'd like to us that.
更新:
根据请求,通过注释,输入应不允许允许HTML(并明显阻止XSS和SQL注入等).
Per the request, via comments, input should not allow HTML (and obviously prevent XSS & SQL Injection, etc).
推荐答案
html净化器-> http://htmlpurifier.org/
html purifier -> http://htmlpurifier.org/
这篇关于PHP输入消毒剂?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文