Call to undefined function: imagettftext()

Recommend this page to a friend!

      Captcha Numbers V2.1  >  All threads  >  Call to undefined function:...  >  (Un) Subscribe thread alerts  
Subject:Call to undefined function:...
Summary:Bug , need to check
Messages:3
Author:James hsieh
Date:2006-03-13 06:34:01
Update:2006-03-13 10:16:49
 

  1. Call to undefined function:...   Reply   Report abuse  
James hsieh - 2006-03-13 06:34:01
Hi!
After installed and test the scripts, it shows:
Call to undefined function: imagettftext() in /home/xxx/public_html/captcha/captcha_numbersV2.php on line 203

  2. Re: Call to undefined function:...   Reply   Report abuse  
Albert Demeter - 2006-03-13 10:16:49 - In reply to message 1 from James hsieh
This function requires both the GD library and the FreeType library. You can get the FreeType library from the http://www.freetype.org/ web site or go to https://sourceforge.net/project/showfiles.php?group_id=3157.
Read more about the ImageTTFText function in the php documentation at : https://sourceforge.net/project/showfiles.php?group_id=3157

  3. Re: Call to undefined function:...   Reply   Report abuse  
Albert Demeter - 2019-03-17 11:18:39 - In reply to message 2 from Albert Demeter
Fixed bug in latest version. If imagettftext method is not found then it uses imagechars method to display text on image.

 

For more information send a message to info at phpclasses dot org.