Best and fast way to list a local drive's root folders and files and the size of them in php? -


e.g:

local drive c:

folder1  346mb folder2  567mb .... file1    345mb file2    343mb .... 

because have thousands of folder or files in local drives , , want display in web page , remove them web page base on total access times . , folders or files have no access deleted!so way or have others better!?

any idea help!!

[update]

i found windows tool calculate folder size command line .disk usage v1.34. return folder , their's size. , question:

which faster.php or internal command line tool!? 

thank yo much!!

use shell command.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -