Re: save image in database vs folder
| From: | tedd | Date: | Wed, 12 Mar 2008 23:14:03 +0000 |
| Subject: | Re: save image in database vs folder | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271459@lists.php.net to get a copy of this message | ||
At 10:15 AM -0400 3/11/08, Robert Cummings wrote:
On Tue, 2008-03-11 at 11:18 +0000, Richard Heyes wrote: Well, bearing in mind I only have experience of MySQL, the generalThere's no general consensus -- it all depends upon needs. Some needs are better served by using the file system while others are better served by using a database. There's plenty of discussion on this in the archives. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.comconsensus is to save it to a file on you hard drive and store the file name in the database. If for whatever reason you can't or don't want to do that, then at least store it in a separate table that only gets touched when the image is requested.Can you point me to a link where I can read about this so-called "general consensus"? :) Cheers, Rob.