会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
浮尘微光
奋斗不止!
首页
新随笔
管理
上一页
1
···
20
21
22
23
24
25
26
27
28
···
76
下一页
2019年7月22日
在mac中安装tmux
摘要: 在mac 中安装Tmux: 在终端输入如下命令: Tmux 的快捷键前缀(Prefix) 为了使自身的快捷键和其他软件的快捷键互不干扰,Tmux 提供了一个快捷键前缀。当想要使用快捷键时,需要先按下快捷键前缀,然后再按下快捷键。Tmux 所使用的快捷键前缀默认是组合键 Ctrl-b(同时按下 Ctr
阅读全文
posted @ 2019-07-22 09:51 浮尘微光
阅读(7139)
评论(0)
推荐(1)
2019年7月19日
PHP如何实现静态的链式调用
摘要: 示例: 来源:https://segmentfault.com/q/1010000019451768/
阅读全文
posted @ 2019-07-19 15:59 浮尘微光
阅读(663)
评论(0)
推荐(0)
yii2增删改查操作
摘要: https://www.yiichina.com/tutorial/996 https://www.yiichina.com/tutorial/834 一、新增 使用model::save()操作进行新增数据 使用createCommand()进行新增数据 批量插入数据 二、修改 使用model::
阅读全文
posted @ 2019-07-19 14:10 浮尘微光
阅读(3533)
评论(0)
推荐(0)
2019年7月18日
mac php7.2 安装mcrypt扩展
摘要: 安装: 下载mcrypt扩展源码 http://pecl.php.net/package/mcrypt 解压后 进入目录: 修改php.ini,加上:
阅读全文
posted @ 2019-07-18 10:04 浮尘微光
阅读(973)
评论(0)
推荐(0)
2019年7月15日
Fatal error: Class 'ZipArchive' not found的解决办法
摘要: 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 浮尘微光
阅读(3770)
评论(0)
推荐(0)
PHPStorm提示:phpdoc comment doesn't contain all necessary @throw tag(s)
摘要: 选择Settings => Editor => Inspection, 选择PHP => PHPDoc => Missing @throws tag(s) ,把后面的勾勾去掉就行了,如上图所示。这样就不会再有phpdoc comment doesn't contain all necessary @
阅读全文
posted @ 2019-07-15 17:57 浮尘微光
阅读(688)
评论(0)
推荐(0)
2019年7月4日
PHP7 MongoDB 使用方法
摘要: 原文链接: http://www.zhaokeli.com/article/8574.html MongoDb原生操作 Mongodb连接 PHP7 连接 MongoDB 语法如下: 复制代码 $manager = new MongoDB\Driver\Manager("mongodb://loca
阅读全文
posted @ 2019-07-04 19:37 浮尘微光
阅读(6659)
评论(0)
推荐(0)
PHP使用MongoDB类操作MongoDB数据库总结
摘要: 参考: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 浮尘微光
阅读(2224)
评论(0)
推荐(0)
MongoDB Shell 命令
摘要: 数据库内容 查看所有数据库show dbs 删除数据库db.dropDatebase() 集合内容 创建集合db.createCollection() 查看所有集合\表show collectionsshow tables 选定某一集合use db_name 查看集合的信息db.stats() 删除
阅读全文
posted @ 2019-07-04 14:32 浮尘微光
阅读(2717)
评论(0)
推荐(0)
2019年6月20日
PHP遍历文件夹下所有文件
摘要: define('DS', DIRECTORY_SEPARATOR); function getDirFiles($dir) { $arr = array(); $hander = scandir($dir); foreach ($hander as $v) { if (is_dir($dir . DS . $v) && $v != "." && $v !=...
阅读全文
posted @ 2019-06-20 17:29 浮尘微光
阅读(506)
评论(0)
推荐(0)
上一页
1
···
20
21
22
23
24
25
26
27
28
···
76
下一页