Havving trouble using image create. Here is the code
[php]
header(“Content-type: image/png”);
$im = imagecreate(100, 50)
or die(“Cannot Initialize new GD image stream”);
$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);
imagepng($im);
imagedestroy($im);
[/php]
here is the browser output
?PNG IHDRd2????PLTE????[????eIDAT(?c` `fx???`? ???????? [vK???§? ? ??6p¦)??u.``iP o9??¦??©Ty?????????¬?X&Z?u Y???@?m?IEND®B`?
Supposed to be GD version to or higher
php info can be viewed here
http://www.lycos-oneclicksite.com/phpinfo.php
Anyone have any idea how to sort this