摘要: 1 /* 获取文件目录下的文件和子文件*/ 2 3 function getfile($path){ 4 5 foreach(glob($path.'\*' as $file)){ 6 7 echo $file; 8 //判断$file 是否是目录 ,是目录递归再次遍历 9 if(is_dir($f 阅读全文
posted @ 2017-05-25 10:33 大咸菜· 阅读(2098) 评论(0) 推荐(0) 编辑