Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php count number of files in directory

$fi = new FilesystemIterator(__DIR__, FilesystemIterator::SKIP_DOTS);
printf("There were %d Files", iterator_count($fi));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #count #number #files #directory
ADD COMMENT
Topic
Name
3+9 =