show directory and number of files in it.

liunx

Guest
I have a Download <!--more--> section of my site but I need to revamp it. Currently when you click on files for Download <!--more--> it just takes the user to a subfolder and lists all the files as explorer would. However I want to have an html page show the files and other subfolders with a count of files in each subfolder. this needs to be dynamic so that if I upload extra files they are picked up by the Download <!--more--> page.<br />
ie<br />
mainfolder has<br />
<br />
file filesize<br />
file filesize<br />
subfolder 10 files (can drill down to subfolders)<br />
subfolder2 11 files<br />
<br />
I hope this makes sense}:-)<!--content-->You will need to use a server side script such as PHP, Perl, ASP, etc, to do that kind of thing. There are already many premade scripts that will list a directories content, search at:<br />
<br />
<!-- w --><a class="postlink" href="http://www.hotscripts.com">www.hotscripts.com</a><!-- w --><br />
<br />
<br />
<br />
missed the s kevin ;)<!--content-->
 
Back
Top