Answers for "find all php files in a specific folder. select the best approach?"

PHP
6

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 "find all php files in a specific folder. select the best approach?"

Browse Popular Code Answers by Language