Hi,
I am interested in creating my own function that will open a directory, and loop through all files contained within, in order to display the total files.
How do I open a directory & loop through files inside a directory?
Have you heard of php manual? Try [man]dir[/man].