I am going to have one directory with multiple sub-directories.
I want to be able to get the last, one, uploaded/modified flv out of each directory and be able create a formatted list that can be outputted.
I have used glob and foreach to create lists of folder items before but not sure how to accomplish this, and just return one file out of a number of sub-directories.
Any help will be appreciated
Thank you!
1 Answer