glob() syntax
Posted: Fri Aug 13, 2010 3:19 pm
Have been reading the glob() manual but can't seem to find any syntax for finding all files that don't match a pattern. For example I have this which returns all files ening in _th.jpg. What I actually want it to do is return all files that DON'T end in that. How would I do this? Thanks
Code: Select all
$picture_array = glob("$album/*_th.jpg");