'grab_files', multiple extension?

Posted on 16th Feb 2014 by admin

hey guys,

can anyone suggest a way to make to following line of code look for files with more than just 'jpg' within the file name (eg 'jpg, JPG, JPEG, jpeg')

Code: $files = grab_files('./gallery', 'jpg');
thanks

Other forums