SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the glob() function to do this.
Here is some documentation on it: http://php.net/manual/en/function.glob.php