Answers for "how to get all file name from folder in php"

PHP
4

php get all php files in a directory

foreach(glob('includes/*.php') as $file) {
    ...
}
Posted by: Guest on March-21-2020

Code answers related to "how to get all file name from folder in php"

Browse Popular Code Answers by Language