Ok ... I'm pretty new to php and have racked my little brain and searched the forums to no avail.
I want to get a list of file names containing certain text. I have a directory that contains images. xxx.full.jpg and xxx.thumb.jpg.
I want to get an array containing only the files that have thumb in the name.
How do I do that?
I can get a list of all files easy enough, I just don't know how to sort out only the ones that I want.