Re: Advice on uploaded files
| From: | Jason Sheets | Date: | Thu, 30 Jan 2003 02:24:48 +0000 |
| Subject: | Re: Advice on uploaded files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133583@lists.php.net to get a copy of this message | ||
You can do either, many people have responded and given their thoughs on
the matter. I personally avoid storing images in a database, the
filesystem is better equipped IMO to handle files. On top of the
overhead of storing the image in your database you will be creating
additional database traffic, every image loaded is at least one more
database query on the website.
Jason
On Tue, 2003-01-28 at 17:16, Manuel Ochoa wrote:
>
> I writting a php program for a small insurance company and they want to receive uploaded
> digital photos.
>
> Should I store the photos in a mysql database or in a directory on the hard drive?
>
> If you have experience with this any advice would be appreciated.