Yes, yet another newbie question. In PHP I an get the size of a file/image but how can I obtain the size of all folders and files within in an entire branch of a directory tree?
In other words:
folder1
|folder2
|folder3
| |folder4
|folder5
What would the contents total size for folder1 be? How do I calculate that without knowing the tree structure?
Thank you so much for your help on this problem.