I have been trying to find the correct PHP function to do the following:
PHP function that reads a directory and collects all the filenames (and subdirectory names) into an array.
I have been searching for a while, not to sure on what exactly is the correct answer.
Any help would be appreciated.
Thanks.