I'm trying to find an efficient way to pull images from a database. What I'm
saying is that the actual image file itself is being stored as a Binary
Large OBject in the database (MySQL) and that I want to use it on a web
document.
The only way I've been able to do it so far is to call an external script
such as:
<img src="grab_image.php?image=picture1.jpg">
where "grab_image.php" goes and connects to the database and spits out the
header information and then the binary data for the applicable picture.
Is there a more efficient way to do this? Is there any way to embed the
image information directly in the document without having to call an
external script for each image?
--
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]