时间:2021-07-01 10:21:17 帮助过:30人阅读
$dir = "upload/";
if (is_dir($dir)){
if ($dh = opendir($dir)){
while (($file = readdir($dh))!= false){
if(!is_dir($file)) {
$filePath = $dir.$file;
echo "";
}
}
closedir($dh);
}
}