Recursive file processing in PHP?
Hi,
I've never really got into handling files in PHP, but now I'd like too. I've set myself a simple task: Have multiple nested directories, each with multiple text files in. Then recurse through each directory getting the contents of each text file (a single word) and put the words into an array.
I've got no trouble reading a single file into an array, but have got stuck when trying to recurse a directory.
Anybody ever done stuff like this before?
M.
__________________
Firefly Oper and General l4m3r - "I Do Stuff"
O2 Rip-off campaign
<vampy> plus i hate people ... i despise humanity as a whole
pablissimo "I'm still geting over the fact you just posted a pic of your own vomit"
|