read())) { if($v == "." $v == "..") continue; $file">
时间:2021-07-01 10:21:17 帮助过:13人阅读
http://www.bkjia.com/PHPjc/314378.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/314378.htmlTechArticle一个目录遍历函数?php function dirtree($path="./test") { echo "dl"; $d = dir($path); while(false !== ($v = $d-read())) { if($v == "." $v == "..") continue; $file = $d-path."...