摘要:
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
wanzij
阅读(732)
评论(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
wanzij
阅读(559)
评论(0)
推荐(0)

浙公网安备 33010602011771号