Re: Storing images in MySQL table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux