magic_quotes_gpc的作用(from sg的challenges)

来源:互联网 发布:淘宝卖家上架宝贝 编辑:程序博客网 时间:2024/06/05 19:28


challenges目录中的htaccess文件,添加一句:

php_flag magic_quotes_gpc off

php magic_quotes_gpc的详细使用方法:http://developer.51cto.com/art/200911/165392.htm

php 防sql注入函数mysql_real_escape_string():http://www.piaoyi.org/php/PHP-SQL-injection-mysql_real_escape_string.html