note 31519 added to function.imagettftext

From: Date: Thu, 24 Apr 2003 19:08:16 +0000
Subject: note 31519 added to function.imagettftext
Groups: php.notes 
Request: Send a blank email to php-notes+get-47040@lists.php.net to get a copy of this message
Well, can someone help me. i copied the example (see top of page) but ie give me this: <br /> <b>Fatal error</b>: Call to undefined function: imagettftext() in <b>/usr/local/httpd/htdocs/kunden/web52/html/sk/test.php</b> on line <b>6</b><br /> why? here the script: <?php Header ("Content-type: image/gif"); $im = imagecreate (400, 30); $black = ImageColorAllocate ($im, 0, 0, 0); $white = ImageColorAllocate ($im, 255, 255, 255); ImageTTFText ($im, 20, 0, 10, 20, $white, "04b_11.ttf", "Test"); ImageGif ($im); ImageDestroy ($im); ?> -- http://www.php.net/manual/en/function.imagettftext.php http://master.php.net/manage/user-notes.php?action=edit+31519 http://master.php.net/manage/user-notes.php?action=delete+31519 http://master.php.net/manage/user-notes.php?action=reject+31519

« previous php.notes (#47040) next »