RE: [PHP] This, then that.
| From: | Robert Cummings | Date: | Sun, 21 Oct 2007 14:24:10 +0000 |
| Subject: | RE: [PHP] This, then that. | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263469@lists.php.net to get a copy of this message | ||
On Sat, 2007-10-20 at 18:45 -0700, Instruct ICC wrote:
> > > >
> > > >One idea that has always been REALLY popular around here... stuff your
> > > >image in a database. *MUHAWHAWHAWHAWHAW* *Ducks from the flying rocks*.
> > > >
> > > >Cheers,
> > > >Rob.
> > > >--
> > >
> > > Rob:
> > >
> > > That's really not a bad idea, but in this experiment I'm using images
> > > as a stand-in for larger files (CD's, Videos, etc).
> > >
> > > Side note to everyone else (Rob knows this) Storing images in a dB
> > > has some advantages, but the concept has been beat to death on this
> > > list and no need to repeat it -- everything that could be said
> > > pro/con has been said -- just review the archives.
> >
> > I use the db for images sometimes. I don't really care what some people
> > think since I've thought it out for myself and like th epros versus the
> > cons sometimes. At any rate, y our problem appears to be related to
> > safe_mode for not putting images outside the web tree. Most likely
> > though, you have access to .htaccess and so you could create a locked
> > images directory that exists within the web tree but which can't be
> > accessed by a browser. This would give you what you need to be within
> > the confines of safe mode.
> >
>
> Regardless, I said from your file or db when I gave more of an example.
> And in this thread I merely said "display image". Haha?
I wasn't commenting against what you've written. It was more generally a
tongue in cheek shot at previous threads where some people took a hard
line against images in databases :)
Cheers
Rob.
--
...........................................................
SwarmBuy.com - http://www.swarmbuy.com
Leveraging the buying power of the masses!
...........................................................