imageJPEG problem.
| From: | EMP) | Date: | Tue, 25 Sep 2001 06:47:18 +0000 |
| Subject: | imageJPEG problem. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-68649@lists.php.net to get a copy of this message | ||
When trying to use a simple code like this below i receive an error which says that it cant find the
header.
<?
Header("Content-type: image/jpeg");
$im = imagecreatefromjpeg("./test.jpg");
Imagejpeg($im,'',20);
ImageDestroy($im);
?>
It outputs the information in ascii and binary code. it doesn't show the picture
Thanks for all the help you can give me.
//Johan