Jump to content

kam1313

Members
  • Posts

    11
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

kam1313's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks for the information. Being new to PHP I wasn't sure what to take out so I deleted the die part. Now the error is: Warning: Wrong parameter count for imagettfbbox() Thanks for your help.
  2. 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
  3. Hi, I'm getting this error with my captcha php page: Warning: Wrong parameter count for imagettfbbox() I'm using PHP version 5.0.5 and GD is enabled. Many thanks
×
×
  • 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.