How to list all files within all subdirectories of a directory using PHP?

blackmamba5069

New member
I hope that makes sense...

Basically, I want to scan through one particular directory, which contains several subdirectories which all contain several text files, and list each one of these text files.

How can I do this? Just looking for a quick and simple answer seeing as I'm still new to PHP!
 
Back
Top