Images from database

From: Date: Tue, 10 Jul 2001 19:41:27 +0000
Subject: Images from database
Groups: php.db 
Request: Send a blank email to php-db+get-10225@lists.php.net to get a copy of this message
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

« previous php.db (#10225) next »