PHP read sub-directories and loop through files how to?

rojoloco47

New Member
I need to create a loop through all files in subdirectories. Can you please help me struct my code like this:\[code\]$main = "MainDirectory";loop through sub-directories { loop through filels in each sub-directory { do something with each file }};\[/code\]Can you help, plz?
 
Back
Top