Frylock Posted August 3, 2004 Posted August 3, 2004 According to PHP.net, the function imagettfbbox() is part of PHP 4+, but in a script I tried running, it said it was undefined. Am I missing anything? I was using it to generate an image on the fly for one of those anti-robotic image dealies (a script I found on Hotscripts by "Chuck Harmston"). It could be the script of course... I have no clue how this image stuff works in PHP, heh. Thanks! Quote
borfast Posted August 3, 2004 Posted August 3, 2004 Frylock, the PHP manual says that function requires both the GD library and the FreeType library. I know TCH servers have the GD library installed and working with PHP but I'm not sure about the Freetype library. I'll check that for you and post here again when I know the answer. Quote
TCH-Rick Posted August 3, 2004 Posted August 3, 2004 All servers should have freetype installed by default. For some reason it was missing on server 35. I tested several other servers and found it was compiled into php. I have recompiled php with freetype support on your server. You can test it by running the fttest.php program I put in your public_html directory. Quote
Frylock Posted August 4, 2004 Author Posted August 4, 2004 Wow... seems I'm the slow one around here. But yeah it works now, cool! Thanks a lot! Quote
muymalestado Posted May 11, 2009 Posted May 11, 2009 An old issue sorted I know but I am being advised by the install guide to ensure GD and Freetype are available on the server. Why? I am installing really-simple-captcha to work with contact-form-7 within WordPress. I cannot get the character image to display. Are these libraries available? I'm on arlington, it says. Thanks. Quote
TCH-Dick Posted May 11, 2009 Posted May 11, 2009 GD and Freetype are installed on all servers. If you are having issues getting these to work, please drop a ticket to the help desk and we will assist. Quote
muymalestado Posted May 11, 2009 Posted May 11, 2009 Many thanks Dick. I asked out of bewilderment. I found the answer is to physically create the wp-content/uploads folder which wp has as the default upload location and which captcha uses. Once that folder exists (with permission 777) all works well. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.