If your system encountered a fatal PHP error when calling the undefined function imagettfbbox, this tutorial may help you.
Approved: Fortect
Why am I getting Fatal PHP error: call to undefined works for you imagettftext ()
on line 29?
phpob_start ();session_start ();$ strings = '123456789';$ i equals = 0;$ Character 6;$ code = '';while (sign $ i <$) $ code. means substr ($ strings, mt_rand (0, strlen ($ strings) -1), 1); $ i ++; $ _SESSION ['captcha'] = code $;// generate image$ im implies imagecreatetruecolor (124, 40);$ foreground = imagecolorallocate ($ im, 0, 0, 0);$ shadow implies imagecolorallocate ($ im, 173, 172, 168);$ background = imagecolorallocate ($ im, 254, 255, 255);a rectangle filled with images ($ im, 0, 200, 0, 200, $ background);// Use your own font!$ font = 'monofont.ttf';// draw the text:imagettftext ($ im, 35, 0, 9, 28, $ font, $ shadow, $ code);imagettftext ($ im, 35, 0, 2, 32, $ foreground, $ font, $ code);// Prevent customer side cachingTitle ("Expires Wednesday, Jan 1, 97 00:00:00 GMT");title ("Last modified:". d gmdate ("D, M Y H: i: s"). "GMT");title ("Cache management: no storage, no cache, you need to double-check");header ("cache check: post-check = 0, false);header ("Pragma: pre-check = 0", no cache ");// Send the image as a route to the browserTitle ("content type: image / png");imagepng ($ im);Destruction of the fractions ($ im);?> `
GD support enabledGD version supplied (2.1 compatible)GIF 0 Reading support includedGIF maker support includedPNG support includedlibPNG version 1.6.20WBMP support enabledXBM support included
At your next url:
http://teamhillman.co.uk/customer_service.php
I get an error:
Inevitable fatal error: Call to undefined function imagettfbbox () via /home/martin/public_html/includes/functions/func_captcha.inc.php on line 50
I have set both GF and Free Type.
Everything is working now.
thank you
Where and how to install it?
Approved: Fortect
Fortect is the world's most popular and effective PC repair tool. It is trusted by millions of people to keep their systems running fast, smooth, and error-free. With its simple user interface and powerful scanning engine, Fortect quickly finds and fixes a broad range of Windows problems - from system instability and security issues to memory management and performance bottlenecks.
Fatal error: Call to undefined function imagettfbbox () in /home/martin/public_html/includes/functions/func_captcha.inc.php on line 50