Click to See Complete Forum and Search --> : File Quantity


Dysan
02-25-2008, 05:52 AM
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?

Znupi
02-25-2008, 10:45 AM
http://php.net/opendir or http://php.net/dir :) I prefer the latter :)

MrCoder
02-27-2008, 02:57 AM
I like glob too. (http://uk2.php.net/manual/en/function.glob.php)