The Little Guy Posted October 8, 2008 Share Posted October 8, 2008 Is there a function similar to glob, and preg_match? I want to do this: $f = glob("../dir/*.(jpg|png)"); then the array contains all the files with a jpg or png extention. Link to comment https://forums.phpfreaks.com/topic/127501-solved-glob-preg_match/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.