Topic: Captcha.php bug

I do not think this has anything to do with the phpfood scripts rather I think it may have something to do with versions of PHP >= 4.3.0 but I wanted to post this here to add to the knowledge base in case someone has the same problem I did.

On some versions of PHP the path var $font = ‘monofont.ttf’; will cause an error. You may see the error : imagettfbbox() [function.imagettfbbox]: Could not find/open font or the captcha will just not appear at all.

I fixed this by changing the path to  var $font = './monofont.ttf';

More info here: … open-font/