displaying an image with header(... does not work
| From: | andy | Date: | Sat, 25 May 2002 11:42:26 +0000 |
| Subject: | displaying an image with header(... does not work | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-99217@lists.php.net to get a copy of this message | ||
Hi there,
I am pulling out an image out of a mysql blob field. The image is there, I
can see it in mysqlfront. So I pull it out of the db store it into a
variable and then do a:
header("Content-type: image/pjpeg");
echo $picture;
I do get a white screen and the browser is loading forever. I can not see
any error in that. Outputting text works, but not the image.
Thanx for any help,
Andy