时间:2021-07-01 10:21:17 帮助过:16人阅读
"; $path = "E:/ProgramBack"; function ERGFile($path){ $AllFiles = scandir($path); foreach($AllFiles as $key=>$file){ if($file == "." || $file == ".."){ continue; } if(is_dir($path."/".$file)){ echo $path."/".$file." -- DIR
"; ERGFile($path."/".$file); }else{ echo $path."/".$file."
"; } } } ERGFile($path); ?>