Quote:
Originally Posted by major
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