gpt4 book ai didi

PHP - 你如何清理你的联系表格?

转载 作者:行者123 更新时间:2023-12-02 05:13:47 24 4
gpt4 key购买 nike

有没有人遇到过用于保护联系表单的防弹函数/类(自制的或 native 的)?

最佳答案

参见:

Secure Your Forms With Form Keys

更好的是,雇用:

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. Tired of using BBCode due to the current landscape of deficient or insecure HTML filters? Have a WYSIWYG editor but never been able to use it? Looking for high-quality, standards-compliant, open-source components for that application you're building? HTML Purifier is for you!

关于PHP - 你如何清理你的联系表格?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2910902/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com