News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Brian Moon's Blog:
Putting files into a database
October 24, 2007 @ 11:24:00

In a recent blog post, Brian Moon talks about doing something he never thought he'd do - storing files in a database. He does, however, have two legitimate places he's found it useful.

Now, most people will say you should never do this. And lots of time they are right. And once upon a time I agreed with them without question. Then I started living in the real world where sometimes you have to do things you never thought you would. Here are the two places where I stores files in a database.

His places are in Phorum, using the method to keep the system's database and file attachments contained and easier to move around, and in the replication of their databases, making it simple to have images for the deals on dealnews transferable to the various slave databases.

0 comments voice your opinion now!
database store file phorum dealnews replication database store file phorum dealnews replication


blog comments powered by Disqus

Similar Posts

Phil Sturgeon's Blog: Hijacking Headers to Force Downloads

Community News: A PHP 5.3 ActiveRecord

Jachim Coudenys: Using multiple databases in phpunit/dbunit with Composer

David Coallier's Blog: PEAR::DB is Deprecated, Got It?

Sameer Borate: Storing images into a database - resolving a contentious matter


Community Events

Don't see your event here?
Let us know!


release laravel api voicesoftheelephpant opinion interview framework podcast series library security list introduction language community laravel5 example php7 extension version

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework