2016年3月26日
摘要: <meta charset= "utf-8"><?php //获取文件属性的函数 function getFilePro($filename) { //检测文件是否存在 if(file_exists($filename)) { echo "这个文件存在<br>"; //检测是否是目录 if(is_d 阅读全文
posted @ 2016-03-26 21:16 奋斗的寒霜 阅读(694) 评论(0) 推荐(0) 编辑
摘要: <meta charset="utf-8"><?php $year = isset($_GET['year']) ? $_GET['year'] : date("Y"); //当前的年 $month = isset($_GET['month']) ? $_GET['month'] : date("m 阅读全文
posted @ 2016-03-26 17:50 奋斗的寒霜 阅读(3789) 评论(0) 推荐(0) 编辑
摘要: <?php/* 时间戳 * * 1. 是一个整数 * 2. 1970-1-1 到现在的秒数 1213212121 * * 2014-02-14 11:11:11 * * 02/14/2014 11:11:11 * * */ date_default_timezone_set("PRC"); $sta 阅读全文
posted @ 2016-03-26 17:24 奋斗的寒霜 阅读(154) 评论(0) 推荐(0) 编辑