摘要: 转:http://vote.wucheshuedu.com/index.php?s=/Home/Article/detail/id/35.html 阅读全文
posted @ 2016-07-13 10:43 歲夢灬沉浮 阅读(179) 评论(0) 推荐(0) 编辑
摘要: <?php function dateBDate($date1, $date2) { // 日期1是否大于日期2 $month1 = date("m", strtotime($date1)); $month2 = date("m", strtotime($date2)); $day1 = date( 阅读全文
posted @ 2016-07-13 10:34 歲夢灬沉浮 阅读(3027) 评论(0) 推荐(0) 编辑
摘要: $a 字段列表$b 查询关键字$c 自定义where条件 function createlike($a,$b,$c=''){ $d = ''; $e = 'or'; $f = count($a); for ($i=0; $i < $f; $i++) { if ($i==$f-1) { $e = '' 阅读全文
posted @ 2016-07-13 10:27 歲夢灬沉浮 阅读(1546) 评论(0) 推荐(0) 编辑
摘要: $msg= GrabImage($vo['url'],$vo['filename']); curl下载文件 <?php $source = "http://apkegg.mumayi.com/cooperation/2016/06/06/0/18/latiao_V1.1_mumayi_3dfc4.a 阅读全文
posted @ 2016-07-13 09:51 歲夢灬沉浮 阅读(277) 评论(0) 推荐(0) 编辑
摘要: <?php class GetPingYing { private $pylist = array( 'a'=>-20319, 'ai'=>-20317, 'an'=>-20304, 'ang'=>-20295, 'ao'=>-20292, 'ba'=>-20283, 'bai'=>-20265, 阅读全文
posted @ 2016-07-13 09:42 歲夢灬沉浮 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.oschina.net/code/snippet_173183_11767 <?php/** * 此方法由@Tonton 提供 * http://my.oschina.net/u/918697 * @date 2012-12-12 */FUNCTION genTree 阅读全文
posted @ 2016-07-13 09:37 歲夢灬沉浮 阅读(244) 评论(0) 推荐(0) 编辑
摘要: config.php<?phpreturn 1;?>cron.phpignore_user_abort();//关掉浏览器,PHP脚本也可以继续执行.set_time_limit(0);// 通过set_time_limit(0)可以让程序无限制的执行下去$interval=60*30;// 每隔半 阅读全文
posted @ 2016-07-13 09:22 歲夢灬沉浮 阅读(292) 评论(0) 推荐(0) 编辑