windows平台下rmdir Permission denied 错误
摘要:
function delFile($delList, $deleteRootToo){ if(is_dir($delList)){ @chmod($delList, 0777); if(!$dh = @opendir($delList)){ return false; } while (false !== ($file = readdir($dh))) { if($file == '.' || $file == '..') continue; if(is_file($delList.'/'.$file)){ @unlink($delList. 阅读全文
posted @ 2011-05-19 15:23 逍遥熊 阅读(1083) 评论(0) 推荐(0) 编辑