You can see what I'm talking about by clicking here
I have a table with the following fields defined:
PICTURE [blob],
MIME_TYPE [varchar]
Obviously, I use this table to store some images. I can store jpeg images no problem, but when I try to store a gif image, the result is what you see in the above link. Here is the code I use to store the image:
$data =
addslashes(
fread(
fopen($file['PICTURE']['tmp_name'], "r"),
$file['PICTURE']['size']
));
Any ideas? :bemused: