Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $fi = new FilesystemIterator(__DIR__, FilesystemIterator::SKIP_DOTS);
- printf("There were %d Files", iterator_count($fi));
- echo "<br>There are " . count(glob("*.jpg")) . " .jpg files.";
Advertisement
Add Comment
Please, Sign In to add comment