Hamlets666 Posted January 9, 2007 Share Posted January 9, 2007 This code : [code]$path = "pic";$x = count(glob($path."/*")); [/code] gives me number of files in that folder.How to count files also in subfolders(make total count of files)? Link to comment https://forums.phpfreaks.com/topic/33487-count-files-in-folder-subfolders/ Share on other sites More sharing options...
papaface Posted January 9, 2007 Share Posted January 9, 2007 This will help:http://www.programmingtalk.com/showthread.php?t=482Google is your friend :) Link to comment https://forums.phpfreaks.com/topic/33487-count-files-in-folder-subfolders/#findComment-156737 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.