Published in: PHP
URL: http://bettesmidler.com/code/2009-07-22.htm
Expand |
Embed | Plain Text
function getDirectoryTree($outerDir){ foreach ($dirs as $d){ $dir_array[$d] = getDirectoryTree($outerDir."/".$d); } else { $dir_array[$d] = $d; } } return $dir_array; }
You need to login to post a comment.