谈谈关于PHP的代码安全相关的一些致命知识
摘要:使用 mysql_real_escape_string() 防止 SQL 注入问题。 使用正则表达式和 strlen() 来确保 GET 数据未被篡改。 使用正则表达式和 strlen() 来确保用户提交的数据不会使内存缓冲区溢出。 使用 strip_tags() 和 htmlspecialchar
阅读全文
posted @ 2017-02-20 10:54
posted @ 2017-02-20 10:54
posted @ 2017-02-19 17:25
posted @ 2017-02-19 16:59