error "Call to undefined function"
Posted: Fri Mar 20, 2009 5:51 am
Hi guys, i've a problem with php 4.0.3.
On this code:
I've this error:
In my php.ini exists "extension=php_gd2.dll" without ";" before.
Can anyone help me pliiz?
On this code:
Code: Select all
$im = imagecreatefromjpeg("images/banners/shop-ad.jpg");
$white = imagecolorallocate($im, 255, 255, 255);
$grey = imagecolorallocate($im, 128, 128, 128);
$black = imagecolorallocate($im, 0, 0, 0);
imagefilledrectangle($im, 0, 0, 399, 29, $white);
$text = 'Testing...';
$font = 'arial.ttf';
imagettftext($im, 20, 0, 11, 21, $grey, $font, $text);at the line "$im = imagecreatefromjpeg("images/banners/shop-ad.jpg");"Fatal error: Call to undefined function: imagecreatefromjpeg()
In my php.ini exists "extension=php_gd2.dll" without ";" before.
Can anyone help me pliiz?