RE: [PHP-DB] Re: Storing images in MySQL table
| From: | Rich Gray | Date: | Fri, 28 Feb 2003 06:30:33 +0000 |
| Subject: | RE: [PHP-DB] Re: Storing images in MySQL table | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-25986@lists.php.net to get a copy of this message | ||
Pedro
Er ... probably - I've not tested it personally.
However, if you output the image directly from a database then your script
is sending the http headers for content type etc and the browser has no
choice but to render what you send. With HTML based <img src="blah"> stuff
it'll try to pull the image from cache in most cases - you can fool it with
a dummy query string however to force a local cache bypass...
HTH
Cheers
Rich
> And i've heard the server or client does not cache db stored images, while
> it caches them in as separate files. True ?
>
> --
> Regards,
> Pedro MG
> www.tquadrado.com