php-db | 2001071
Date: 07/10/01
- Next message: PHPFAN: "[PHP-DB] Access Violation PLEASE HELP."
- Previous message: Benjamin Bleything: "Re: [PHP-DB] MySQL Error"
- Maybe in reply to: Randall Barber: "[PHP-DB] Images from database"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected>; run by ezmlm
>list-help: <mailto:php-db-help <email protected>>
>list-unsubscribe: <mailto:php-db-unsubscribe <email protected>>
>list-post: <mailto:php-db <email protected>>
>Delivered-To: mailing list php-db <email protected>
>Date: Tue, 10 Jul 2001 13:41:27 -0600
>From: Randall Barber <rdb55 <email protected>>
>To: php-db <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: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: PHPFAN: "[PHP-DB] Access Violation PLEASE HELP."
- Previous message: Benjamin Bleything: "Re: [PHP-DB] MySQL Error"
- Maybe in reply to: Randall Barber: "[PHP-DB] Images from database"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

