Hi all,
Assuming I have stored the binary data of an image file in a blob field
of a table, how can I display it as an image in a web page? I found some
instructions on the web, such as
header('applica tion/octet-stream');
echo $imgdata;
I don't know why I always get this warning.
----------------
Warning: Cannot modify header information
-------------
How can I get rid of it and show the image as an element of the current web
page?
Thanks, kevin
Assuming I have stored the binary data of an image file in a blob field
of a table, how can I display it as an image in a web page? I found some
instructions on the web, such as
header('applica tion/octet-stream');
echo $imgdata;
I don't know why I always get this warning.
----------------
Warning: Cannot modify header information
-------------
How can I get rid of it and show the image as an element of the current web
page?
Thanks, kevin
Comment