摘要:        
如何查看php是thread-safe 线程安全还是non-thread-safe 非线程安全? 通过phpinfo()查看,打印出php版本信息,查找Thread Safety选项。Thread Safety:如果是enable,则是Thread Safe(线程安全)版本;否则,就是None Th    阅读全文
posted @ 2019-02-25 22:09
虚无缥缈的云
阅读(880)
评论(0)
推荐(0)
        
            
        
        
摘要:        
fastadmin进阶 安装:出现登陆页无法显示:可能是php的gd2扩展未开启 FastAdmin 在 Nginx 中的配置 用的是AdminLTE后台模板require.js、less、Bower 调试错误:看runtime/log FastAdmin 的上传代码在哪里? 一张图解析FastAd    阅读全文
posted @ 2019-02-25 10:44
虚无缥缈的云
阅读(3718)
评论(0)
推荐(0)
        
            
        
        
摘要:        
获取请求类的几种方式: 1、助手函数(严格不算ba ) input('post.name'); 2、$request=\think\Request::instance(); 3、控制器中必须继承Controller,那么在方法中可用$this->request; 4、依赖注入 、5、直接 new    阅读全文
posted @ 2019-02-25 01:18
虚无缥缈的云
阅读(4176)
评论(0)
推荐(1)
        
            
        
        
摘要:        
验证器类:$validate=new \think\Validate($rule,$message,$field); 注意:开启表单令牌后需要验证它哦 独立验证: make、rule、extend、setTypeMsg、message、scene、hasscene、batcch、check、getE    阅读全文
posted @ 2019-02-25 00:01
虚无缥缈的云
阅读(877)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号