View Single Post
  #18 (permalink)  
Old 01-14-2007, 12:18 PM
John's Avatar   
John John is offline
Co-Administrator
 
Join Date: Jul 2006
Age: 19
Posts: 2,731
Last Blog:
Passwords
Rep Power: 20
John has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud of
Send a message via AIM to John
Default

Quote:
Originally Posted by major View Post
it is writing
<br />
<b>Fatal error</b>: Call to undefined function: imagettfbbox() in <b>/home/labdan/domains/prozit.net/public_html/gd/in.php</b> on line <b>22</b><br />


http://prozit.net/gd/in.php?text=sadsa
...
how can i solve it
and onther thing
it is the same code for gif and jpg expet from changing image/gif
and
image.gif
?
Which part of the changed code is causing the error? And no, this code is only meant for png images, there are other functions you can use for gif's and jpg's such as imagecreatefromgif() or imagecreatefromjpeg() rather than imagecreatefromgif(). Although you have to change the functions the general code should remain the same.

For more information on the GD functions take a look here PHP: gd_info - Manual
Reply With Quote