Re: Images from database
| From: | Benjamin Bleything | Date: | Tue, 10 Jul 2001 20:22:03 +0000 |
| Subject: | Re: Images from database | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-10229@lists.php.net to get a copy of this message | ||
Check out http://www.phpbuilder.com/columns/florian19991014.php3.
It's a
tutorial that explains getting images in and out of databases. It also
describes what this myscript.php thingy does.
Good luck,
Ben
>Mailing-List: contact php-db-help@lists.php.net; run by ezmlm
>list-help: <mailto:php-db-help@lists.php.net>
>list-unsubscribe:
><mailto:php-db-unsubscribe@lists.php.net>
>list-post: <mailto:php-db@lists.php.net>
>Delivered-To: mailing list php-db@lists.php.net
>Date: Tue, 10 Jul 2001 13:41:27 -0600
>From: Randall Barber <rdb55@email.byu.edu>
>To: php-db@lists.php.net
>MIME-version: 1.0
>X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
>X-Priority: 3
>X-MSMail-priority: Normal
>Subject: [PHP-DB] Images from database
>
>I have seen in several places the following line:
>
><img src='myScript.php' etc..etc..>
>
>Will this tag work in both IE and Netscape?
>
>What does myScript.php do? Does it find an image and pass the binary data
back?
>
>Something like this--
>
><?php
>
>// Code to find get a path from a database
>
>$fp = fopen(odbc_result($qryResult, "imgPath"), "rb");
>fpassthru($fp);
>fclose($fp);
>?>
>
>Am I getting this, or am I missing the whole point?
>Thanks
>RDB