Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php glob multiple file with different formats in directory

$files = array_merge(glob(storage_path("exports/*.xlsx")),glob(storage_path("exports/*.csv")));
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #glob #multiple #file #formats #directory
ADD COMMENT
Topic
Name
4+7 =