Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
PHP
php dirpath multiple file extensions
Greg Nickoloff
Programming language:
PHP
2021-05-06 09:32:40
0
Q:
php dirpath multiple file extensions
David Sellers
Code:
PHP
2021-06-20 06:10:35
$files = glob("/path/to/directory/*.{jpg,gif,png}", GLOB_BRACE); print_r($files);
0
Tags
path
file
php
multiple
Related
where is php.ini file
php get filename without extension
php file extension
php include multiple files at once
php files
php file exist
php get all php files in a directory
file exist php
php if 2 files in dir unlink the olderst
verificare esistenza file in php
filename php
php get file extension
php list all files in directory
list all files in directory php
file path exttension in php
get file extension in php w3schools
install multiple php versions windows xampp
php get file extension from filename
New to Communities?
Join the community