RE: [PHP] Image Storage
| From: | Michael G | Date: | Wed, 24 Mar 2004 08:32:30 +0000 |
| Subject: | RE: [PHP] Image Storage | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-181358@lists.php.net to get a copy of this message | ||
Best to use the filesystem for images -
Michael
-----Original Message-----
From: David T-G [mailto:davidtg-php@justpickone.org]
Sent: 23 March 2004 22:04
To: PHP General list
Cc: Matt Palermo
Subject: Re: [PHP] Image Storage
Matt --
...and then Matt Palermo said...
%
% I am creating a system to allow users to upload images to the site. Would
% it be better to store the images in a MySQL table, or having it save the %
images to a directory on the server? Anyone have any suggestions on this?
% Pros? Cons?
This has been debated to death; check the archives. Although there are
passionate arguments for both approaches, I *think* that the consensus for
general applications where you don't have a specific reason to put them in
the DB is to go with the filesystem -- but, then, I'm also a subscriber of
that camp :-)
%
% Thanks,
%
% Matt
% http://sweetphp.com/
HTH & HAND
:-D
--
David T-G * There is too much animal courage in
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/ Shpx gur
Pbzzhavpngvbaf Qrprapl Npg!