Have you looked at:
The [blue]glob()[/blue] function.
Or the [blue]opendir()[/blue] function.
and [blue]readdir()[/blue] function
You can Open the dir and go through the files using readdir adding them to an array if they are files, or checking if they are Directories and if they are, you go through those directories recursively.
To check you can use the [blue]isdir()[/blue] function.
.
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.