摘要: 防止sql注入代码:(1)修改php.ini magic_quotes_gpc=Off,打开开关,不常用; (2)获取到参数后,调用$username = addslashes($username); 说明:string addslashes ( string $str ) 返回字符串,该字符串为了 阅读全文
posted @ 2018-09-08 10:16 1O(∩_∩)O1 阅读(610) 评论(0) 推荐(0) 编辑