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 [EMAIL PROTECTED]; run by ezmlm
>list-help: <mailto:[EMAIL PROTECTED]>
>list-unsubscribe: <mailto:[EMAIL PROTECTED]>
>list-post: <mailto:[EMAIL PROTECTED]>
>Delivered-To: mailing list [EMAIL PROTECTED]
>Date: Tue, 10 Jul 2001 13:41:27 -0600
>From: Randall Barber <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>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
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]