DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+2 =
Submit