This is my page to extract image (as blob) in a interbase table.
I call it with :echo "src=\"blob2img.php?id_product=".$id_product."\" ";
but i don't see the image

// in = id_product
$host = "";
$user = "TEST_USER";
$pass = "PassUser";
$rules = "CLIENT";

$conn = ibase_connect($host,$user,$pass,$charset,$buffers,$dialect,$rules)

$set = ibase_query("SELECT IMAGE from products where (id_product =

$row = ibase_fetch_row($set);
header("Content-type: image/jpeg");

PHP Database Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to