统计PHP目录中的文件数方法 代码示例如下:<?php$folderPath="upload/";$countFile=0;$totalFiles=glob($folderPath."*");if($totalFiles){$c 文件数