How Many Files In Dir Php

[Solved] How Many Files In Dir Php | Php - Code Explorer | yomemimo.com
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

Answers related to how many files in dir php

Code Explorer Popular Question For Php