上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 24 下一页
摘要: redie 支持五种数据类型:string(字符串):set key value设置 get key获取hash(哈希):hmset 设置 hget 获取list(列表):lpush key value 设置 lrange key n m获取set(集合):sadd key value 设置 sme 阅读全文
posted @ 2019-07-30 15:36 pengcx 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 只要我们对有疑问的代码进行框选,然后右键点击git->Show History for Method ,phpstorm就会去git history中去检查这行代码在历史记录中出现的状态。 阅读全文
posted @ 2019-07-26 09:47 pengcx 阅读(4918) 评论(0) 推荐(0) 编辑
摘要: `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURREN 阅读全文
posted @ 2019-07-19 09:32 pengcx 阅读(1727) 评论(0) 推荐(0) 编辑
摘要: URL 地址: https://www.easyswoole.com/Cn/Video/income.html项目地址在: https://github.com/easy-swoole/easyswoole 阅读全文
posted @ 2019-07-03 14:54 pengcx 阅读(2148) 评论(0) 推荐(0) 编辑
摘要: 来源: https://www.cnblogs.com/webclz/p/4256334.html 在维护一个tp写的项目,因为需要在一个表(列如user)中新增一个字段status,但是不论如何就是无法给status赋值,查了资料才发现,原来是tp的数据表字段缓存在搞鬼。 在runtime>Dat 阅读全文
posted @ 2019-06-26 10:30 pengcx 阅读(453) 评论(0) 推荐(0) 编辑
摘要: ps:来源 https://www.cnblogs.com/supe/p/9083292.html 阅读全文
posted @ 2019-06-21 15:57 pengcx 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 来源:https://www.cnblogs.com/henryhappier/archive/2011/03/03/1969564.html 一、浏览器允许每个域名所包含的cookie数: Microsoft指出InternetExplorer8增加cookie限制为每个域名50个,但IE7似乎也 阅读全文
posted @ 2019-06-14 16:27 pengcx 阅读(540) 评论(0) 推荐(0) 编辑
摘要: 参考文档:https://github.com/zhishutech/mysql-sql-standard/blob/master/SUMMARY.md 基础规范 全部使用 InnoDB 引擎,MyISAM适用场景非常少 MyISAM与InnoDB区别 字符集:统一使用 utf8mb4 注释规范 表 阅读全文
posted @ 2019-05-31 18:58 pengcx 阅读(183) 评论(0) 推荐(0) 编辑
摘要: PSR-[0-4] PSR —— Proposing a Standards Recommendation PSR-0 (Autoloading Standard) 自动加载标准 PSR-1 (Basic Coding Standard) 基础编码标准 PSR-2 (Coding Style Gui 阅读全文
posted @ 2019-05-24 19:17 pengcx 阅读(404) 评论(0) 推荐(0) 编辑
摘要: public function batchDownload() { $filename = 'tmp.zip'; $zipName = date('YmdHi') . '.zip'; $files = 'xxxx';//文件列表 $zip = new \ZipArchive(); $zip->open($fi... 阅读全文
posted @ 2019-03-29 11:17 pengcx 阅读(2020) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 24 下一页