Re: [PHP] Display BLOB Image

2001-12-06 Thread Steve Cayford
This is what I used to do what you're trying: header("Content-Type: image/" . $imagetype); // $imagetype is jpeg or gif header("Content-Length: " . strlen($image)); echo $image; Note that "Type" is capitalized in "Content-Type", and include the "Content-Length" as well. -Steve On Thursday, D

[PHP] Display BLOB Image

2001-12-06 Thread phantom
I have successfully placed images (jpg,gif,png) into a MySQL database BLOB field, now I want to be able to pull the data out and diplay it. based on tutorial at http://www.zdnet.com/devhead/stories/articles/0,4413,2644827,00.html after Querying the DB I have the following lines: $ImgFile = mysq