<?php
header ("Content-type: image/png");
$im = @imagecreate (150, 50)
or die ("Couldn't create image!");
$background_color = imagecolorallocate ($im, 205, 205, 255);
$text_color = imagecolorallocate ($im, 233, 14, 91);
imagestring ($im, 2, 5, 5, "A Simple Text String", $text_color);
imagepng ($im);
imagedestroy($im);
?>
Comments 6