Files
Moderator: General Moderators
- mydimension
- Moderator
- Posts: 531
- Joined: Tue Apr 23, 2002 6:00 pm
- Location: Lowell, MA USA
- Contact:
i don't believe there is one. try this though:
note: not tested
Code: Select all
function fileCount($dir) {
$dirHandle = opendir($dir);
$fileCount = 0;
while (($file = readdir($dirHandle)) !== FALSE) {
$fileCount++;
}
return $fileCount;
}