摘要: 提示You don't have permission to access / on this server.。Apache定义了默认对网站根的访问权限。# Each directory to which Apache has access can be configured with respect# to which services and features are allowed and/or disabled in that# directory (and its subdirectories). ## First, we configure the "defaul 阅读全文
posted @ 2013-03-17 15:02 cococo点点 阅读(479) 评论(0) 推荐(0) 编辑
摘要: magic_quotes_gpc设置是否自动为GPC(get,post,cookie)传来的数据中的\'\"\\加上反斜线。可以用get_magic_quotes_gpc()检测系统设置。如果没有打开这项设置,可以使用addslashes()函数添加,它的功能就是给数据库查询语句等的需要在某些字符前加上了反斜线。这些字符是单引号(\')、双引号(\")、反斜线(\\)与 NUL(NULL 字符)。一般用法如下;if(!get_magic_quotes_gpc()){addslashes($prot);} 阅读全文
posted @ 2013-03-17 14:04 cococo点点 阅读(200) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示