how do I find all sub directories exactly X directories down in php and store the names in an array?
I have a blog where the posts are stored by date eg
domain.com/blog/2017/1/26/allfileshere
and I want to find each blog post without complicated newb code that runs slowly
I'm looking for files called index.php if that helps
>>59118141
halp
fuck off retard
>>59118141
Either google for docs and tutorials on directory traversal, or pay some pajeet $20 to do it on freelancer.com
:(
>>59118141
My best guess:
Recursive function that takes an int counter and a pointer to an array
Ye