Using PHP look through a directory of files and filter by 3-digit number
Posted on 2008-06-20
I need to be able to sort through a list of files that have a naming scheme like this.
what is the easiest way to search through this list. Using the first 3-digit number, get the file names and output a link for download on my web page. I would need to filter the results so that if there were 10 floorplans for one property or 2 floorplans for another it wouldn't matter. It would just output what was filtered through. Any help is appreciated greatly.