02 2018 档案

摘要:# apt-get install php7.0-curl phpinfo(); 之后看到curl就OK了 阅读全文
posted @ 2018-02-25 21:13 LiuLiwei 阅读(169) 评论(0) 推荐(0)
摘要:数据库查询 http://www.yiichina.com/tutorial/95 数据库操作 www.yiichina.com/tutorial/834 阅读全文
posted @ 2018-02-09 18:46 LiuLiwei 阅读(81) 评论(0) 推荐(0)
摘要:session是我们存储用户信息的重要手段。用户在访问网站时将用户的session存储在服务器端,当网站是由多个服务器组成,那么用户的session存在某一台服务器, 每次需要验证用户session时并不能遍历每个服务器去查找,严重影响网站的运行效率。 阅读全文
posted @ 2018-02-02 18:17 LiuLiwei 阅读(118) 评论(0) 推荐(0)
摘要:做Yii2-Restful-API授权验证,token正常获取,header请求一直401,困扰啊! 检查代码有没有问题啊,不然我也很无奈,好了开始探索。 环境:WAMP 首先我是正常获取token 访问http://localhost/advanced/api/web/v1/users/user- 阅读全文
posted @ 2018-02-01 11:54 LiuLiwei 阅读(653) 评论(0) 推荐(0)