上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 24 下一页
摘要: DB::query('SHOW TABLE STATUS');//读取表信息 DB::query("OPTIMIZE TABLE tableName ");//优化表 DB::query("REPAIR TABLE tableName ")//修复表 阅读全文
posted @ 2017-09-20 13:16 pengcx 阅读(237) 评论(0) 推荐(0) 编辑
摘要: $ip = 'IP地址';echo $intip = sprintf('%u',ip2long($ip)); //转换为无符号整型echo long2ip($intip);//将整型转换为ip 阅读全文
posted @ 2017-09-15 13:09 pengcx 阅读(574) 评论(0) 推荐(0) 编辑
摘要: 如果表在创建并导入数据以后,不会在进行修改操作,那么这样的表或许适合采用MyISAM压缩表。 压缩表可以极大地减少磁盘空间暂用,因此也可以减少磁盘I/O,从而提升查询性能,压缩表也支持索引。 阅读全文
posted @ 2017-09-14 17:21 pengcx 阅读(382) 评论(0) 推荐(0) 编辑
摘要: http://bootboxjs.com/examples.html#bb-confirm-dialog 阅读全文
posted @ 2017-09-14 17:07 pengcx 阅读(103) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/qcloud1001/p/6555252.html 阅读全文
posted @ 2017-09-14 13:41 pengcx 阅读(90) 评论(0) 推荐(0) 编辑
摘要: foreach ($list as $key=>$val){ $data=array();//这一个一定要加上不然循环后,modify_one,modify_two都会赋值 if ($val['id']!=1){ $link = explode("801",$val['p_link']); if (isset($link['1'])){ ... 阅读全文
posted @ 2017-09-08 15:16 pengcx 阅读(5022) 评论(0) 推荐(0) 编辑
摘要: 1、百度 Echarts:http://github.com/bubifengyun/yii2-echarts 2、在线工具:http://tool/lu 3、矢量小图标:http://www.iconfont.cn/ 4、百度云测:http://mtc.baidu.com 5、个人博客文章: ht 阅读全文
posted @ 2017-09-07 21:13 pengcx 阅读(407) 评论(0) 推荐(1) 编辑
摘要: public function gethttpcode($url){ $ch = curl_init (); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_TIMEOUT, 2); curl_setopt($ch, CURLOPT_HEADER, FAL... 阅读全文
posted @ 2017-09-07 18:02 pengcx 阅读(445) 评论(0) 推荐(0) 编辑
摘要: \think\Config::get('xxx'); 阅读全文
posted @ 2017-08-31 13:19 pengcx 阅读(3469) 评论(0) 推荐(0) 编辑
摘要: 月统计求和时 本月第一天没有统计到 阅读全文
posted @ 2017-08-31 10:24 pengcx 阅读(157) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 24 下一页