This is my page to extract image (from blob) in a interbase table.
I call it with :echo "src=\"blob2img.php?id_product=".$id_product."\" ";
<?php
//BLOB2JPG
$conn = ibase_connect($host,$user,$pass,$charset,$buffers,$dialect,$rules)
$set = ibase_query("SELECT IMAGE from products where (id_product =
$id_product)");
$row = ibase_fetch_row($set);
ibase_blob_echo($row[0]);
header("Content-type: image/jpeg");
ibase_close($conn);
?>
My problem is that the images are too slow.
Solutions ?
--
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]