Menu
I don’t have any issue with glob or how it works but I was wondering, since I am not completely PHP literate, if there is some way to glob search all child dirs and check if that child dir has a child dir and so forth?
i am using nested foreach loops to read sub dirs right now but is there a one command way to do this?
the prob with the way i am doing it is if i add another child dir, i have to manually add another nested foreach to search for it otherwise any files i put in it will not be read by the current code since it uses as many nested for’s as i knwo there are sub dirs.
?