Re: save image in database vs folder

From: Date: Tue, 11 Mar 2008 14:34:01 +0000
Subject: Re: save image in database vs folder
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-271284@lists.php.net to get a copy of this message
On 3/11/08, Daniel Brown <parasane@gmail.com> wrote: > On Tue, Mar 11, 2008 at 10:15 AM, Robert Cummings <robert@interjinn.com> wrote: > > > > On Tue, 2008-03-11 at 11:18 +0000, Richard Heyes wrote: > > > > some friend of mine ague about this matter, this morning. they say, saving > > > > image in > > > > database is more professional. I am not really agree with that,since i am > > > > just a novice programmer. > > > > > > 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"? :) > > http://www.gfy.com/ ;-P Whoa! My institution blocked that URL for 'adult content'. I guess there are some racy example pictures or something?? lol. :=) -David. When the power of love overcomes the love of power, the world will know peace. -Jimi Hendrix

« previous php.general (#271284) next »