Re: ++
| From: | Darren Beale | Date: | Mon, 28 Aug 2000 16:09:44 +0000 |
| Subject: | Re: ++ | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13957@lists.php.net to get a copy of this message | ||
On Mon, 28 Aug 2000, Yurais Fernandez Leal wrote:
>Is there any way to send pictures or Binary Data directly from the
>MySQL Table to the browser ?
>
create a page called image.php and add a header to it, something like
header("Content-type: image/gif"); and then output the contents of your binary
field into this page.
you can call it then by using <img src="./image.php?pictureID=n">