Re: Advice on uploaded files

From: Date: Wed, 29 Jan 2003 14:13:37 +0000
Subject: Re: Advice on uploaded files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-133490@lists.php.net to get a copy of this message
Two problems for filesystem: 1. You cannot store over a tot number of images on some systems. Thus, storing them in DB will be headechless. Unless, you know that there will be at most some hundred pics or so. 2. Storing them in filesystem gives more trouble as you need to make sure it is - writable, permissions won't change, things won't get corrupted, it's writable by you and but not by other user etc I'd say that DB is a better way, although altogether it would get it a little slower, but not by too much. DB will be quite large. -- Maxim Maletsky maxim@php.net Manuel Ochoa <manuel@ochoa-usa.com> 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.

« previous php.general (#133490) next »