Re: What is best way to do handle audio files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux