At 5:59 PM -0400 10/19/03, Walter Lee Davis wrote:
You can create a JPEG or a PNG, but not a GIF.
Well, when I try this:
<?php
header ("Content-type: image/jpeg");
$im = imagecreate (50, 100);
$background_color = imagecolorallocate ($im, 255, 255, 255);
$text_color = imagecolorallocate ($im, 233, 14, 91);
imagestring ($im, 1, 5, 5, "A Simple Text String", $text_color);
imagejpeg ($im );
imagedestroy ($im);
?>
I get the error:
The image "imagetest.php" cannot be displayed, because it contains
errors.
Any ideas?
Again, doing the same thing with my primary web host works.
_______________________________________________
web-development mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/web-development
Do not post admin requests to the list. They will be ignored.