Re: Storing images in MySQL table
| From: | Len Sorensen | Date: | Wed, 19 Feb 2003 15:25:03 +0000 |
| Subject: | Re: Storing images in MySQL table | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-25765@lists.php.net to get a copy of this message | ||
On Wed, Feb 19, 2003 at 11:07:28AM +0200, Corne' Cornelius wrote:
> The only disadvantage i've had of storing images in DB instead of
> Filesystem, is that when you use a PHP script to output the image to a
> client browser, MSIE doesn't always accept a suggested filename so it
> might try and save it as "your-script.php?img=2".
Perhaps using the syntax 'your-script.php/imagename?otherparams' would
solve that. It does for the few cell phones I have worked on serving
images to. At least apache allows that syntax.
> Other then that, keeping images in DB is a lot easier since you don't
> have to keep your DB in sync with Filesystems ie. Deleted records in DB,
> but images still exist.
Certainly nice. Now if only postgres had a nice way to dump/backup
BLOBs. :)
Len Sorensen