上一页 1 ··· 102 103 104 105 106 107 108 109 110 ··· 567 下一页
摘要: $data = file_get_contents("php://input"); php://input 是个可以访问请求的原始数据的只读流。 POST 请求的情况下,最好使用 php://input 来代替 $HTTP_RAW_POST_DATA,因为它不依赖于特定的 php.ini 指令。 而 阅读全文
posted @ 2019-08-09 17:24 码农编程进阶笔记 阅读(956) 评论(0) 推荐(0)
摘要: $data = file_get_contents("php://input"); php://input 是个可以访问请求的原始数据的只读流。 POST 请求的情况下,最好使用 php://input 来代替 $HTTP_RAW_PO... 阅读全文
posted @ 2019-08-09 17:24 码农编程进阶笔记 阅读(346) 评论(0) 推荐(0)
摘要: <?php /** *Recieve p_w_picpath data **/ error_reporting(E_ALL); function get_contents() { $xmlstr = file_get_contents("php://input"); $filename = time() . '.png'; if (file_put_contents($filename, $xml 阅读全文
posted @ 2019-08-09 17:14 码农编程进阶笔记 阅读(1529) 评论(0) 推荐(0)
摘要: <?php/** *Recieve p_w_picpath data **/error_reporting(E_ALL);function get_contents(){ $xmlstr = file_get_contents("php://i... 阅读全文
posted @ 2019-08-09 17:14 码农编程进阶笔记 阅读(52) 评论(0) 推荐(0)
摘要: 排序字段为orderid; 1、使用order by orderid desc实现降序时,orderid 为null数据的会排在数据的最后面; 但是,order by orderid升序时,orderid 为null的数据则会排在最前面,如果想要将orderid 为null的数据排在最后,就需要加上 阅读全文
posted @ 2019-08-08 18:16 码农编程进阶笔记 阅读(8387) 评论(0) 推荐(0)
摘要: 排序字段为orderid; 1、使用order by orderid desc实现降序时,orderid 为null数据的会排在数据的最后面; 但是,order by orderid升序时,orderid 为null的数据则会排在最前面,如果想要将o... 阅读全文
posted @ 2019-08-08 18:16 码农编程进阶笔记 阅读(146) 评论(0) 推荐(0)
摘要: 本文对redis的过期处理机制做个简单的概述,让大家有个基本的认识。 Redis中有个设置时间过期的功能,即对存储在redis数据库中的值可以设置一个过期时间。作为一个缓存数据库,这是非常实用的。如我们一般项目中的token或者一些登录信息,尤其是短信验证码都是有时间限制的,按照传统的数据库处理方式 阅读全文
posted @ 2019-08-08 11:03 码农编程进阶笔记 阅读(26596) 评论(0) 推荐(0)
摘要: 本文对redis的过期处理机制做个简单的概述,让大家有个基本的认识。 Redis中有个设置时间过期的功能,即对存储在redis数据库中的值可以设置一个过期时间。作为一个缓存数据库,这是非常实用的。如我们一般项目中的token或者一些登录信息,尤其是短信验... 阅读全文
posted @ 2019-08-08 11:03 码农编程进阶笔记 阅读(212) 评论(0) 推荐(0)
摘要: $this->must=json_decode(@file_get_contents('php://input'),true);无意中看到我们与前端通信的这个基本参数,不是很明白对应的意思,找了篇相关文章:http://my.oschina.net/u/267858/blog/519403 $dat 阅读全文
posted @ 2019-08-07 16:35 码农编程进阶笔记 阅读(13563) 评论(0) 推荐(0)
摘要: $this->must=json_decode(@file_get_contents('php://input'),true);无意中看到我们与前端通信的这个基本参数,不是很明白对应的意思,找了篇相关文章:http://my.oschina.net/u/2... 阅读全文
posted @ 2019-08-07 16:35 码农编程进阶笔记 阅读(59) 评论(0) 推荐(0)
上一页 1 ··· 102 103 104 105 106 107 108 109 110 ··· 567 下一页
返回顶部 有事您Q我