清理(MySQL和XSS)
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了清理(MySQL和XSS)相关的知识,希望对你有一定的参考价值。
Just a small function to sanitize the user's input of any xss and sqli. I saw a lot of ones that didn't include htmlentities or htmlspecialchars, and were still vulnerable to persistent/reflected xss.
function clean($a) { { } return $a; }
以上是关于清理(MySQL和XSS)的主要内容,如果未能解决你的问题,请参考以下文章