Question : how many files in dir php
Answered by : agreeable-angelfish-0r82m2nbq9yl
$fi = new FilesystemIterator(__DIR__, FilesystemIterator::SKIP_DOTS);
printf("There were %d Files", iterator_count($fi));
Source : https://stackoverflow.com/questions/12801370/count-how-many-files-in-directory-php | Last Update : Thu, 14 May 20