遍历指定目录下的所有目录和文件的php代码
遍历指定目录下的所有目录和文件的php代码,需要的朋友可以参考下。 代码如下:php <BR function listFiles($path){$result = array();foreach(glob($path.'\'."*"...
遍历指定目录下的所有目录和文件的php代码,需要的朋友可以参考下。 代码如下:php <BR function listFiles($path){$result = array();foreach(glob($path.'\'."*"...