Re: [BULK] Re: [PHP] OK to have many files in one folder?

From: Date: Mon, 18 Jun 2007 11:19:00 +0000
Subject: Re: [BULK] Re: [PHP] OK to have many files in one folder?
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-257267@lists.php.net to get a copy of this message
clive wrote: >> >> I have no clue how big the files are, but you might want to store them >> in a database. That can speed up things, but don't ask me how much ;) >> >> Tijnema >> > no dude, while database are convenient, files systems are faster, I mean > thats what they were designed for, serving files. > > For lots of files I would store them in directories and sub directories. Yeah amen! I generally use a two character hex hash in my main folder to give 255 sub folders each containing files. In my case the hash is calculated from some known info - e.g. a database ID and then stored in a meta data table. Col

« previous php.general (#257267) next »