Thanks
Chris
<?php header ("Content-type: image/png"); $string = "Text message goes here"; $font = "2"; $width = ImageFontWidth($font) * strlen($string); $height = ImageFontHeight($font);
$im = @imagecreate ($width,$height); $background_color = imagecolorallocate ($im, 255, 255, 255); //white background $text_color = imagecolorallocate ($im, 0, 0,0);//black text imagestring ($im, $font, 0, 0, $string, $text_color); imagepng ($im); ?>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php