note 31519 rejected from function.imagettftext by alindeman
| From: | alindeman@php.net | Date: | Thu, 24 Apr 2003 21:34:13 +0000 |
| Subject: | note 31519 rejected from function.imagettftext by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-47047@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);
?>