12 2016 档案

摘要:/** * 检查指定字符串是否为日期格式 年-月-日 * @param $date 日期字符串 * @return bool true 是日期格式 false 不是日期格式 */function valid_date($date){ //匹配日期格式 if (preg_match ("/^([0-9 阅读全文
posted @ 2016-12-29 17:27 male110 阅读(10783) 评论(0) 推荐(0) 编辑
摘要:WineBottler Wineskin 阅读全文
posted @ 2016-12-13 20:47 male110 阅读(87) 评论(0) 推荐(0) 编辑
摘要:function del_dir($dir) { if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') { $str = "rmdir /s/q " . $dir; } else { $str = "rm -Rf " . $dir; } exec($str,$output,$retval); ... 阅读全文
posted @ 2016-12-12 16:43 male110 阅读(74) 评论(0) 推荐(0) 编辑