会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
盘思动
三思而后折腾!
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
114
115
116
117
118
119
120
121
122
···
133
下一页
2018年3月30日
获从2017-2 到现在所有月份;
摘要: public function get_mouthlist($start_time){ //$start_time = '2018-02'; //线上起始位置为2018-03 $end_time = date('Y-m',time()); //所有可选的日期月份列表(从2018-03开始到当前月份)
阅读全文
posted @ 2018-03-30 11:23 盘思动
阅读(120)
评论(0)
推荐(0)
2018年3月28日
获取所在月第一天和最后一天
摘要: $BeginDate = date('Y-m-01', strtotime(date("Y-m-d")));echo $BeginDate;echo "<br/>";echo date('Y-m-d', strtotime("$BeginDate +1 month -1 day"));echo "<
阅读全文
posted @ 2018-03-28 18:48 盘思动
阅读(124)
评论(0)
推荐(0)
2018年3月27日
mysql中设置小数
摘要: decimal Decimal(n,m)表示数值中共有n位数,其中整数n-m位,小数m位。例:decimal(10,6),数值中共有10位数,其中整数占4位,小数占6位。 例:decimal(2,1),此时,插入数据“12.3”、“12”等会出现“数据溢出错误”的异常;插入“1.23”或“1.234
阅读全文
posted @ 2018-03-27 10:37 盘思动
阅读(7146)
评论(0)
推荐(0)
2018年3月22日
分割png图片
摘要: /*** * 分割图片 */public function cut_img(){ $filename = 'site_upload/form_file_forinput/20180313/20180313191121824939294.png'; $p = 3; // Get new sizes l
阅读全文
posted @ 2018-03-22 17:27 盘思动
阅读(888)
评论(0)
推荐(0)
2018年3月19日
ubuntu 14.04 安装win7虚拟机
摘要: 主机OS:ubuntu 14.04 virtual box:http://download.virtualbox.org/virtualbox/5.1.28/virtualbox-5.1_5.1.28-117968~Ubuntu~trusty_amd64.deb 下载完成后,直接运行virtualb
阅读全文
posted @ 2018-03-19 18:28 盘思动
阅读(1812)
评论(0)
推荐(0)
rwx
摘要: 常用的linux文件权限:444 r--r--r--600 rw 644 rw-r--r--666 rw-rw-rw-700 rwx 744 rwxr--r--755 rwxr-xr-x777 rwxrwxrwx从左至右,1-3位数字代表文件所有者的权限,4-6位数字代表同组用户的权限,7-9数字代
阅读全文
posted @ 2018-03-19 17:57 盘思动
阅读(734)
评论(0)
推荐(0)
2018年3月13日
获取文件名称 basename 用法
摘要: <?phpheader('Content-type:text/html;charset=utf8'); $str = '2390230.png';$str_arr = explode('.',$str);$str_arr_count = count($str_arr);$str_last = "."
阅读全文
posted @ 2018-03-13 11:56 盘思动
阅读(351)
评论(0)
推荐(0)
2018年3月12日
like tp
摘要: $where['insurance_order_num'] = array('like',$insurance_order_num.'%'); //右边模糊搜索,2099032902309张三 和 2099032902309 可以一起搜索出来
阅读全文
posted @ 2018-03-12 15:45 盘思动
阅读(181)
评论(0)
推荐(0)
2018年3月9日
git 回退
摘要: 回退命令:$ git reset --hard HEAD^ 回退到上个版本$ git reset --hard HEAD~3 回退到前3次提交之前,以此类推,回退到n次提交之前 $ git reset --hard commit_id 退到/进到 指定commit的sha码//--???回到当前版本
阅读全文
posted @ 2018-03-09 16:01 盘思动
阅读(142)
评论(1)
推荐(0)
2018年3月8日
微信公众号开发配置
摘要: 公众号配置,需要把链接配置到调取的页面:http://www.baidu.com/Action/ 后面具体的页面链接不用; 注意传递的type类型
阅读全文
posted @ 2018-03-08 22:11 盘思动
阅读(135)
评论(0)
推荐(0)
上一页
1
···
114
115
116
117
118
119
120
121
122
···
133
下一页
公告