一目录遍历関数数 function virginree($path="./test") { echo ""; $d = dir($path); while (false !== ($v = $d->read())) { if($v == "." $v == "..") Continue; $file = $d->path."/".$v; echo "$v"; if(is_dir($file)) dirtree($file ); } $d->close(); echo "";}dirtree();?>