PHP Dirpath Extensions de fichiers
$files = glob("/path/to/directory/*.{jpg,gif,png}", GLOB_BRACE);
print_r($files);
Geeky Bravo
$files = glob("/path/to/directory/*.{jpg,gif,png}", GLOB_BRACE);
print_r($files);