PHP Classes

Call to undefined function: imagettfbbox()

Recommend this page to a friend!

      ATextImage  >  All threads  >  Call to undefined function:...  >  (Un) Subscribe thread alerts  
Subject:Call to undefined function:...
Summary:How can I fix this problem?
Messages:11
Author:Lihat Ervin
Date:2005-11-04 12:05:22
Update:2006-02-09 13:58:51
 
  1 - 10   11 - 11  

  11. Re: Call to undefined function:...   Reply   Report abuse  
Picture of George Clarke George Clarke - 2006-02-09 13:58:51 - In reply to message 10 from sami reddy
Thank you for your interest in my atextimage class.
To answer your question, Perl and PHP will not run in the same page. However, the usual common way to use this class is to have a separate php script that will display or save the image with text. To do that, reference the php script in an <img> tag in your html code. For example, for using the formimage.php script, the tag might look like this:
<img src="formimage.php?img=image.jpg&txt=a line of text">
This is just a simple example. But you can see the method of how to use it. This is assuming that the formimage.php script and the class file are in the same directory as the page that uses it. If you have further questions, I am here to help.

George Clarke
[email protected]

 
  1 - 10   11 - 11