摘要: function deldir($path){ if(!is_dir($path)){ return false; } $dh = opendir($path); while(($file = readdir($dh)) !== false){ if($file != '.' && $file != 阅读全文
posted @ 2016-07-18 22:36 yangboom 阅读(713) 评论(0) 推荐(0) 编辑
摘要: 方法一: function mk_dir($path_arr,$root){ if(!empty($path_arr)){ static $path;//每次保存上次调用的值 $path .= '/'.$path_arr[0]; if(!is_dir($path)){ if( mkdir($root 阅读全文
posted @ 2016-07-18 22:29 yangboom 阅读(543) 评论(0) 推荐(0) 编辑
TOP