Re: save image in database vs folder

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

 



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 general
 consensus 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.

There'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.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