Best to use the filesystem for images - 

Michael 

-----Original Message-----
From: David T-G [mailto:[EMAIL PROTECTED] 
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) [EMAIL PROTECTED] * society and not sufficient moral courage.
(work) [EMAIL PROTECTED]  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

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

Reply via email to