Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php dirpath multiple file extensions

$files = glob("/path/to/directory/*.{jpg,gif,png}", GLOB_BRACE);
print_r($files);
Source by electrictoolbox.com #
 
PREVIOUS NEXT
Tagged: #php #dirpath #multiple #file #extensions
ADD COMMENT
Topic
Name
2+2 =