Jump to content

Counting number of files in a folder?


extrovertive

Recommended Posts

I'm writing a script that allows user to upload their pics to a folder (each user has his/her own folder). That folder will contain only pics. Now, I want it so that I can count the number of files are in the folder.
Is there a function for this? Sort of like count() but for directory?
Link to comment
https://forums.phpfreaks.com/topic/17076-counting-number-of-files-in-a-folder/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.