List contents of a directory
A quick and dirty way to list the contents of a directory. You might want to add more properties to it for displaying only certain file types and so on. I might post that later on.
And how to use it:
-
$arr = dirList("./");
-
for ($i=0; $i<count ($arr); $i++) {
-
}