$THIS == a real life website by Jonny Nail // life + code

getDirectoryTree

Read a directory, get the sub directories, get the files within the directories, create a lovely array of all that jazz.

Stolen from here.

July 22, 2009 [13:12]
Go Home