Glad I did not, because its not quite resolved yet. Glob() works great, but my host runs PHP in "safe" mode.
Part of the reason I wanted to build a custom index page was so that I could list the directory name, and also list a short summary of all the files that are inside that directory next to the dirtectory name (basically the first 10 characters of the names, as a link to the file).
But with PHP in safe mode, index.php can't use glob() to look down into the sub-directories of the directory it resides in to find the file names- it can only get info about the single directory it resides in.
Is there an alternate method I could use for this task? FTP maybe? If so, how? Anybody have code for a function that will do the same task as glob() can do on arbitrary directory paths directories, but using a safe-mode friendly method?