Jump to content

Captcha error


kam1313

Recommended Posts

Hi,

 

The code is as follows:

 

var $font = 'times.ttf';

        /* create textbox and add text */

        $textbox = imagettfbbox($font_size, 0, $this, $font, $code) or die('Error in imagettfbbox function');

        $x = ($width - $textbox[4])/2;

        $y = ($height - $textbox[5])/2;

 

I'm still not sure where I'm going wrong as I have changed fonts aswell.

 

Thanks for your help

Link to comment
https://forums.phpfreaks.com/topic/186093-captcha-error/#findComment-982753
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.