I've got a fairly simple php script which creates a simple gif image.
Now, if I use this script on my primary webhost, everything works
correctly and the image is created.
However, I would also like to see it working on my local machine and in
this case, I just get back the standard broken image icon.
I am guessing something is not configured properly, but I am uncertain
as to what that might be.
Does anyone have any ideas?
Here's the php script...
<?php
header ("Content-type: image/gif");
$im = imagecreate (50, 100);
$background_col or = imagecoloralloc ate ($im, 255, 255, 255);
$text_color = imagecoloralloc ate ($im, 233, 14, 91);
imagestring ($im, 1, 5, 5, "A Simple Text String", $text_color);
imagegif ($im);
imagedestroy ($im);
?>
--
== Eric Gorr ========= http://www.ericgorr.net ========= ICQ:9293199 ===
"Therefore the considerations of the intelligent always include both
benefit and harm." - Sun Tzu
== Insults, like violence, are the last refuge of the incompetent... ===