摘要: $id = 'xxxxxxxxxxxx; echo getAgeByID($id); function getAgeByID($id){ //过了这年的生日才算多了1周岁 if(empty($id)) return ''; $date=strtotime(substr($id,6,8)); //获得 阅读全文
posted @ 2019-11-21 11:45 ccj896510 阅读(890) 评论(0) 推荐(0)
摘要: $re = vendor ( 'phpoffice.phpexcel.Classes' ); $PHPExcel = new \PHPExcel(); dump($PHPExcel); 阅读全文
posted @ 2019-11-21 11:44 ccj896510 阅读(214) 评论(0) 推荐(0)
摘要: https://github.com/mengkunsoft/MKOnlineMusicPlayer https://github.com/metowolf/Meting 阅读全文
posted @ 2019-11-21 11:43 ccj896510 阅读(821) 评论(0) 推荐(0)
摘要: linux crontab 命令,最小的执行时间是一分钟。如需要在小于一分钟内重复执行,可以有两个方法实现。 Cron 各项的描述 以下是 crontab 文件的格式: {minute} {hour} {day-of-month} {month} {day-of-week} {full-path-t 阅读全文
posted @ 2019-11-21 11:42 ccj896510 阅读(3416) 评论(0) 推荐(0)
摘要: https://crontab.guru/ 阅读全文
posted @ 2019-11-21 11:41 ccj896510 阅读(174) 评论(0) 推荐(0)
摘要: 点击打开链接http://jingyan.baidu.com/article/9113f81b0333e12b3214c7a8.html redis for windows下载地址: 点击打开链接https://github.com/MSOpenTech/redis/releases phpredi 阅读全文
posted @ 2019-11-21 11:39 ccj896510 阅读(415) 评论(0) 推荐(0)
摘要: $redis = new Redis(); $handler = $redis->handler();//得到句柄 dump($handler->set('n','3',50)); $redis = new Redis(); $handler = $redis->handler();//得到句柄 d 阅读全文
posted @ 2019-11-21 11:38 ccj896510 阅读(116) 评论(0) 推荐(0)
摘要: date('YmdHis') . str_pad(mt_rand(1, 99999), 5, '0', STR_PAD_LEFT); 阅读全文
posted @ 2019-11-21 11:18 ccj896510 阅读(109) 评论(0) 推荐(0)