Re: What is best way to do handle audio files?
| From: | Jad madi | Date: | Sat, 08 Apr 2006 17:46:52 +0000 |
| Subject: | Re: What is best way to do handle audio files? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-233568@lists.php.net to get a copy of this message | ||
While listing with scandir insert file name into your DB
and list them with select dude
and whenever new file added add it to db
On Sat, 2006-04-08 at 12:08 -0400, Nicholas Couloute wrote:
> On my website http://www.sidekick2music.com ! I use scandir()
> to fetch
> all the files which are all in subfolders of this one folder.
> like this:
> public_html/amrs/$cat/$author/*.amr
>
> $cat = different catergoried of music
> $author = Authors of the particular catergory
>
> This way isn't fast when you have over 5,000+ files.
>
> I use flatfile for everything on the site!
> site: http://www.sidekick2music.com
>
> Would it run faster if I used mysql?
> How would this be done?
> Is there another way when dealing with files and organizing them? CMS?
>
> ~Nick Couloute
> co-owner/Web Designer
> Sidekick2Music.Com
>