06 2018 档案

摘要://$startdate是开始时间,$enddate是结束时间 "; $hour=floor((strtotime($enddate)-strtotime($startdate))%86400/3600); echo "相差小时数:".$hour."小时"; $minute=floor((strtotime($enddate)-strtotime($startdate))%86400/6... 阅读全文
posted @ 2018-06-28 12:34 邹柯 阅读(147) 评论(0) 推荐(0) 编辑
摘要:/* *desc:计算两个日期相隔多少年,多少月,多少天 *param string $date1[格式如:2011-11-5] *param string $date2[格式如:2012-12-01] *return array array('年','月','日'); */ public function diffDate($date1,$... 阅读全文
posted @ 2018-06-24 16:05 邹柯 阅读(1903) 评论(0) 推荐(0) 编辑
摘要:更改apache和mysql端口 可以使用/opt/zbox/zbox -h命令来获取关于zbox命令的帮助。 其中 -ap参数 可以修改Apache的端口,-mp参数 可以修改Mysql的端口。 例如(apache端口改为8080,mysql端口改为3307): /opt/zbox/zbox st 阅读全文
posted @ 2018-06-24 00:41 邹柯 阅读(223) 评论(0) 推荐(0) 编辑
摘要:(8)从box列表移除 参考博文:Vagrant 知识澄清与杂症诊治 阅读全文
posted @ 2018-06-23 23:59 邹柯 阅读(160) 评论(0) 推荐(0) 编辑
摘要:http://pecl.php.net/package/swoole vim /www/wdlinux/apache_php-7.1.2/etc/php.ini service httpd restart 阅读全文
posted @ 2018-06-23 23:03 邹柯 阅读(181) 评论(0) 推荐(0) 编辑
摘要:vim /www/wdlinux/apache_php-7.1.2/etc/php.ini 查看是否启动redis服务 ps -ef | grep redis 重启服务:service httpd restart 阅读全文
posted @ 2018-06-23 22:38 邹柯 阅读(361) 评论(0) 推荐(0) 编辑
摘要:php7升级脚本 update_php7.sh sh update_php7.sh wdcp升级php5.8到php7.1.12后不能访问的处理方法 阅读全文
posted @ 2018-06-23 10:40 邹柯 阅读(396) 评论(0) 推荐(0) 编辑
摘要:参考博文: SourceTree安装教程和GitLab配置详解 关于Atlassian无法注册的问题 SourceTree跳过Atlassian账号,免登陆,跳过初始设置 sourcetree跳过注册的方法 将生成的rsa密钥放到github中 阅读全文
posted @ 2018-06-20 15:24 邹柯 阅读(210) 评论(0) 推荐(0) 编辑
摘要:参考博文: anaconda在Linux下的安装 Linux下anaconda3的安装 Anaconda的安装、启用及停用的步骤 Python学习之Anaconda的使用及配置方法 Anaconda 镜像使用帮助 完美安装 Anaconda3 + PyQt5 + Eric6 阅读全文
posted @ 2018-06-19 23:24 邹柯 阅读(208) 评论(0) 推荐(0) 编辑
摘要:SHOW CREATE TABLE tp_web_log_all 阅读全文
posted @ 2018-06-19 18:08 邹柯 阅读(2218) 评论(0) 推荐(0) 编辑
摘要:Application\Oa\Model\PublicModel.class.php 导出模板 阅读全文
posted @ 2018-06-07 13:10 邹柯 阅读(773) 评论(0) 推荐(0) 编辑
摘要:(1)strlen 获取字符串长度 (2)mb_strlen 使用方法: int mb_strlen ( string $str [, string $encoding ] )返回给定的字符串 string 的长度。encoding参数为字符编码。如果省略,则使用内部字符编码。 GBK编码的状态下 阅读全文
posted @ 2018-06-05 19:22 邹柯 阅读(397) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示