I dunno about the Interbase part, but you need to have a separate script
just for the image, since that's a separate HTTP request from a web-page.

This separate file needs to send out the right header for GIF images:
<?php
    header("Content-type: image/gif");
?>

You then need to get the GIF data out of Interbase, and echo it out.

Since echo-ing error messages will not be visible in image data, you may
wish to use http://php.net/log_error and view your Apache logs for any
errors you think you might be getting.

You can also comment out the header line and see what you get by surfing
directly to the image URL.

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Alex.Tesi <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Monday, August 13, 2001 8:15 AM
Subject: Interbase lob field on the web


Hi i have a problem printing a lob field containing an image.
The database i use is Interbase 6.0
I have a blob/lob field with a gif  image inside an i like to print this
image on the web.
Can you help me?

Bye Alessandro



-- 
PHP General 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]

Reply via email to