1.json格式中,中括号包含的字符串对应php的数值数组,而大括号内的字符串对应php 的关联数组。
2.nginx 访问目录 403 forbidden
location /dirname {
autoindex on;
}
3.mysql创建用户并分配权限:
grant all privileges on adlmall.* to 'test'@'%' identified by 'test123';
flush privileges;
4.window server 2008 r2,项目adlmallonline,(phpstudy apache .htaccess)不起作用,解决办法:
# RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]