16May/10N/A0
Find files in PHP
There is a super easy way to get all files matching some particular pattern in PHP. In comes "glob". It sounds like some slimey green goop but really it is quite handy. Glob will return an array of files that match a pattern. Handy huh?
-
foreach ($files as $filename) {
-
}
-