随笔分类 -  php

上一页 1 ··· 5 6 7 8 9 10 11 12 下一页
摘要:https://jingyan.baidu.com/album/b0b63dbf068bde4a483070f7.html?picindex=1 阅读全文
posted @ 2018-08-29 16:28 盘思动 阅读(172) 评论(0) 推荐(0)
摘要:https://packagist.org/packages/jormin/baidu-speech http://ai.baidu.com/docs#/TTS-Online-PHP-SDK/top 阅读全文
posted @ 2018-08-25 18:28 盘思动 阅读(336) 评论(0) 推荐(0)
摘要:https://packagist.org/packages/picqer/php-barcode-generator 阅读全文
posted @ 2018-07-19 10:08 盘思动 阅读(266) 评论(0) 推荐(0)
摘要:PHP_INT_SIZE:表示整数integer值的字长 PHP_INT_MAX:表示整数integer值的最大值 注: 输出下32位中PHP_INT_SIZE:4,PHP_INT_MAX:2147483647 输出下64位中PHP_INT_SIZE:8,PHP_INT_MAX:9223372036 阅读全文
posted @ 2018-07-18 16:12 盘思动 阅读(981) 评论(0) 推荐(0)
摘要:$price = ($price > 0) ? $price : 0; 阅读全文
posted @ 2018-07-13 23:03 盘思动 阅读(109) 评论(0) 推荐(0)
摘要:http://amazeui.org 阅读全文
posted @ 2018-07-05 11:20 盘思动 阅读(208) 评论(0) 推荐(0)
摘要:$a = array( 'time' => array('between',[c,d]) ); c<= time <= d 阅读全文
posted @ 2018-07-03 09:33 盘思动 阅读(340) 评论(0) 推荐(0)
摘要:/* * -1 奖项公布,包括手动结束 * 1 投稿结束,奖项还没公布 ,时间判断 * 2 未结束=投稿开始了,投稿还没结束 * 3 未开始 * */$map_end = array();if (!empty($_GET['is_end'])){ $is_end = $_GET['is_end']; 阅读全文
posted @ 2018-06-28 12:04 盘思动 阅读(397) 评论(0) 推荐(0)
摘要:{$vo['money_num']/100} //正确 {$vo.money_num/100} //错误 阅读全文
posted @ 2018-06-09 09:38 盘思动 阅读(196) 评论(0) 推荐(0)
摘要:mysql> update tf_user_present set condition="0" where id=1;ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds 阅读全文
posted @ 2018-06-04 19:04 盘思动 阅读(507) 评论(0) 推荐(0)
摘要:"; //暂停 10 秒 sleep(10); //重新开始 echo date('h:i:s'); ?> 阅读全文
posted @ 2018-05-28 17:28 盘思动 阅读(153) 评论(0) 推荐(0)
摘要:<?php $a=array("a"=>"Cat","b"=>"Dog","c"=>"Horse"); print_r(array_values($a)); // 输出: // Array ( [0] => Cat [1] => Dog [2] => Horse ) ?> 阅读全文
posted @ 2018-04-24 21:23 盘思动 阅读(591) 评论(0) 推荐(0)
摘要:* * * * * cd /home/wwwroot/default/lion/ && /usr/bin/git pull origin 5hao >> /tmp/git.log 2>&1 这里直接用git pull 不行,可能git需要配置才可以,涉及到哪个分支的问题.... 阅读全文
posted @ 2018-04-04 15:14 盘思动 阅读(565) 评论(0) 推荐(0)
摘要: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 盘思动 阅读(118) 评论(0) 推荐(0)
摘要:$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)
摘要:/*** * 分割图片 */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 盘思动 阅读(886) 评论(0) 推荐(0)
摘要:<?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 盘思动 阅读(349) 评论(0) 推荐(0)
摘要:$where['insurance_order_num'] = array('like',$insurance_order_num.'%'); //右边模糊搜索,2099032902309张三 和 2099032902309 可以一起搜索出来 阅读全文
posted @ 2018-03-12 15:45 盘思动 阅读(180) 评论(0) 推荐(0)
摘要:公众号配置,需要把链接配置到调取的页面:http://www.baidu.com/Action/ 后面具体的页面链接不用; 注意传递的type类型 阅读全文
posted @ 2018-03-08 22:11 盘思动 阅读(134) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-03-01 09:24 盘思动 阅读(599) 评论(0) 推荐(0)

上一页 1 ··· 5 6 7 8 9 10 11 12 下一页