Thank you for reading my post
I am trying to install a php application and it return an error like:
Code: Select all
Fatal error: Call to undefined function ImageFontWidth() in /var/www/triner/includes/functions.php on line 28Code: Select all
## create an image not a text for the pin
$font = 6;
$width = ImageFontWidth($font) * strlen($generated_pin);
$height = ImageFontHeight($font);
$im = @imagecreate ($width,$height);
$background_color = imagecolorallocate ($im, 219, 239, 249); //cell background
$text_color = imagecolorallocate ($im, 0, 0,0);//text color
Can some one please let me know what is the problem?
Thanks