上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 76 下一页
摘要: upload.php部分: 阅读全文
posted @ 2019-07-22 16:18 浮尘微光 阅读(1262) 评论(0) 推荐(0) 编辑
摘要: 在mac 中安装Tmux: 在终端输入如下命令: Tmux 的快捷键前缀(Prefix) 为了使自身的快捷键和其他软件的快捷键互不干扰,Tmux 提供了一个快捷键前缀。当想要使用快捷键时,需要先按下快捷键前缀,然后再按下快捷键。Tmux 所使用的快捷键前缀默认是组合键 Ctrl-b(同时按下 Ctr 阅读全文
posted @ 2019-07-22 09:51 浮尘微光 阅读(6821) 评论(0) 推荐(0) 编辑
摘要: 示例: 来源:https://segmentfault.com/q/1010000019451768/ 阅读全文
posted @ 2019-07-19 15:59 浮尘微光 阅读(638) 评论(0) 推荐(0) 编辑
摘要: https://www.yiichina.com/tutorial/996 https://www.yiichina.com/tutorial/834 一、新增 使用model::save()操作进行新增数据 使用createCommand()进行新增数据 批量插入数据 二、修改 使用model:: 阅读全文
posted @ 2019-07-19 14:10 浮尘微光 阅读(3442) 评论(0) 推荐(0) 编辑
摘要: 安装: 下载mcrypt扩展源码 http://pecl.php.net/package/mcrypt 解压后 进入目录: 修改php.ini,加上: 阅读全文
posted @ 2019-07-18 10:04 浮尘微光 阅读(939) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/jake451/article/details/6151724 https://www.cnblogs.com/gyfluck/p/10478386.html 出现这个错误的原因是由于在安装php的时间没有增进php zip的支持 (非zlib)而引起的。 阅读全文
posted @ 2019-07-15 20:31 浮尘微光 阅读(3635) 评论(0) 推荐(0) 编辑
摘要: 选择Settings => Editor => Inspection, 选择PHP => PHPDoc => Missing @throws tag(s) ,把后面的勾勾去掉就行了,如上图所示。这样就不会再有phpdoc comment doesn't contain all necessary @ 阅读全文
posted @ 2019-07-15 17:57 浮尘微光 阅读(654) 评论(0) 推荐(0) 编辑
摘要: 原文链接: http://www.zhaokeli.com/article/8574.html MongoDb原生操作 Mongodb连接 PHP7 连接 MongoDB 语法如下: 复制代码 $manager = new MongoDB\Driver\Manager("mongodb://loca 阅读全文
posted @ 2019-07-04 19:37 浮尘微光 阅读(6614) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.php.net/manual/zh/class.mongodb-driver-manager.php 参考:https://www.zhaokeli.com/article/8574.html Driver\Manager 入口文件,一般都要先实例化该类Driver\B 阅读全文
posted @ 2019-07-04 14:36 浮尘微光 阅读(2187) 评论(0) 推荐(0) 编辑
摘要: 数据库内容 查看所有数据库show dbs 删除数据库db.dropDatebase() 集合内容 创建集合db.createCollection() 查看所有集合\表show collectionsshow tables 选定某一集合use db_name 查看集合的信息db.stats() 删除 阅读全文
posted @ 2019-07-04 14:32 浮尘微光 阅读(2698) 评论(0) 推荐(0) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 76 下一页