/ Published in: PHP

Returns an array of files that match a search term in a certain directory.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function match_files_in_directory($dir, $extension = '.jpg'){ $ary[] = $file; } } } return $ary; }
Comments
