摘要: 主要使用到了 php 的时间函数 mktime。 官方文档:http://kr1.php.net/manual/zh/function.mktime.php 1 //获取今天00:00 2 $todaystart = strtotime(date(‘Y-m-d’.’00:00:00′,time()) 阅读全文
posted @ 2017-06-20 18:11 spectrelb 阅读(4940) 评论(1) 推荐(1) 编辑
摘要: 转载:http://e7kan.com/?p=264& 引言 HTTP是一个属于应用层的面向对象的协议,由于其简捷、快速的方式,适用于分布式超媒体信息系统。它于1990年提出,经过几年的使用与发展,得到不断地完善和扩展。目前在WWW中使用的是HTTP/1.0的第六版,HTTP/1.1的规范化工作正在 阅读全文
posted @ 2017-06-20 16:07 spectrelb 阅读(208) 评论(0) 推荐(0) 编辑
摘要: https://yq.aliyun.com/articles/44246 下载代码: 在你项目的External Libraries上右键->Configure PHP Include Path然后选择那个文件夹(swoole-ide-helper)就可以了 阅读全文
posted @ 2017-06-20 14:26 spectrelb 阅读(1230) 评论(0) 推荐(0) 编辑
摘要: http://www.jianshu.com/p/fedbb9d2d999 阅读全文
posted @ 2017-06-20 11:58 spectrelb 阅读(200) 评论(0) 推荐(0) 编辑