Page 1 of 1

File list

Posted: Sat May 16, 2009 9:05 am
by vantheman
Hi,
What's the best way to list the contents of multiple subdirectory in one list?
For example:
On the site, there's a "secure" folder which contains several subfolders (week_of_1-22-09, week_of_1-29-09, etc.). Each folder contains mp3 files.
a.) I would like to populate a list, on the "home" page (which is not inside the 'secure' folder), that will show the Artist, Title, Genre & which folder it resides in.
b.) Secondly, I would also like to be able to search by (artist, title, etc.).
c.) The items on this list are for vewing ONLY (not clickable).

Thanks in advance

Re: File list

Posted: Sat May 16, 2009 12:24 pm
by ldougherty
Instead of reading the directories store the information in a database.

You can store he tArtist, Title, Genre & which folder it resides in in the database which would then be searchable.