Nobody is using Debian and Captchas?? Just to know if you are not having
the same issue...
El dom, 20-09-2009 a las 07:18 -0700, Alayn Gortazar escribió:
> Hi everybody,
>
> I'm using a captcha element and I'm having some curious behaviour, as it
> randomly shows empty captchas (image is created, but no text appears on it).
>
> This is happening on a Debian Lenny system.
> Anyone else having the same problem??
>
> [code]
> // Add a captcha
> $this->addElement('captcha', 'captcha', array(
> 'label' => 'Please write the next 5 characters:',
> 'required' => true,
> 'captcha' => array(
> 'captcha' => 'Image',
> 'font' => APPLICATION_PATH . "/fonts/Arial_Bold.ttf",
> 'imgUrl' => $getBaseUrl."/images/captcha",
> 'fontSize' => 30,
> 'wordLen' => 5,
> 'timeout' => 300
> ),
> "class" => "basic off"
>
> ));
> [/code]
>
> Thx,
>
> --
> Alayn Gortazar
>