随笔分类 - php
摘要:https://jingyan.baidu.com/album/b0b63dbf068bde4a483070f7.html?picindex=1
阅读全文
摘要:https://packagist.org/packages/jormin/baidu-speech http://ai.baidu.com/docs#/TTS-Online-PHP-SDK/top
阅读全文
摘要:https://packagist.org/packages/picqer/php-barcode-generator
阅读全文
摘要: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
阅读全文
摘要:http://amazeui.org
阅读全文
摘要:$a = array( 'time' => array('between',[c,d]) ); c<= time <= d
阅读全文
摘要:/* * -1 奖项公布,包括手动结束 * 1 投稿结束,奖项还没公布 ,时间判断 * 2 未结束=投稿开始了,投稿还没结束 * 3 未开始 * */$map_end = array();if (!empty($_GET['is_end'])){ $is_end = $_GET['is_end'];
阅读全文
摘要:{$vo['money_num']/100} //正确 {$vo.money_num/100} //错误
阅读全文
摘要: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
阅读全文
摘要:"; //暂停 10 秒 sleep(10); //重新开始 echo date('h:i:s'); ?>
阅读全文
摘要:<?php $a=array("a"=>"Cat","b"=>"Dog","c"=>"Horse"); print_r(array_values($a)); // 输出: // Array ( [0] => Cat [1] => Dog [2] => Horse ) ?>
阅读全文
摘要:* * * * * cd /home/wwwroot/default/lion/ && /usr/bin/git pull origin 5hao >> /tmp/git.log 2>&1 这里直接用git pull 不行,可能git需要配置才可以,涉及到哪个分支的问题....
阅读全文
摘要:public function get_mouthlist($start_time){ //$start_time = '2018-02'; //线上起始位置为2018-03 $end_time = date('Y-m',time()); //所有可选的日期月份列表(从2018-03开始到当前月份)
阅读全文
摘要:$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 "<
阅读全文
摘要:/*** * 分割图片 */public function cut_img(){ $filename = 'site_upload/form_file_forinput/20180313/20180313191121824939294.png'; $p = 3; // Get new sizes l
阅读全文
摘要:<?phpheader('Content-type:text/html;charset=utf8'); $str = '2390230.png';$str_arr = explode('.',$str);$str_arr_count = count($str_arr);$str_last = "."
阅读全文
摘要:$where['insurance_order_num'] = array('like',$insurance_order_num.'%'); //右边模糊搜索,2099032902309张三 和 2099032902309 可以一起搜索出来
阅读全文
摘要:公众号配置,需要把链接配置到调取的页面:http://www.baidu.com/Action/ 后面具体的页面链接不用; 注意传递的type类型
阅读全文

浙公网安备 33010602011771号