Re: DataObject: storing images in mysql
| From: | Michael Wallner | Date: | Thu, 10 Feb 2005 17:33:06 +0000 |
| Subject: | Re: DataObject: storing images in mysql | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-17483@lists.php.net to get a copy of this message | ||
Hi Ed Greenberg, you wrote:
> Also, how to write a page of PHP that selects the image and row
> and then serves up the image with the appropriate mime-type.
I'd say use HTTP_Download, but^H^H^H
just store the mime type in the DB too and enable HTTP caching.
This may sound like a shameless plug, but I'm successfully using it,
just that I store the image data in the file system.
Regards,
--
Michael - < mike(@)php.net >
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc