thinkphp3.2 nginx 规则配置
location / { if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=$1 last; break; } }
location / { if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=$1 last; break; } }
$res = M(‘member’) ->table(‘__MEMBER__ as a’) ->join(‘__ORDER__ as b’) ->fi...
做好的项目在移植到阿里liunx服务器,然后想测试一下app的功能,就试着注册一个帐号,可以发送验证码,手机也能收到,但是提交确定时总是提示验证码不对。于是我就去查了一下是不是服务端session没有保存到mobile_code,果然是。调...