Development

sfCaptchaPlugin/Talk (diff)

You must first sign up to be able to contribute.

Changes from Version 1 of sfCaptchaPlugin/Talk

Show
Ignore:
Author:
adriaan (IP: 84.84.179.43)
Timestamp:
08/30/07 11:50:18 (10 years ago)
Comment:

bug?

Legend:

Unmodified
Added
Removed
Modified
  • sfCaptchaPlugin/Talk

    v0 v1  
     1I only get a image when I edit executeIndex to: 
     2{{{ 
     3    $this->getResponse()->setContentType('image/jpeg'); 
     4    $this->getResponse()->setParameter('web_debug', 'off'); 
     5    $this->getUser()->setAttribute('captcha', uniqid()); 
     6     
     7    $g = new Captcha($this->getUser()->getAttribute('captcha')); 
     8    print($g->plot()); 
     9}}} 
     10Something is wrong with setting the uniqe string. 
     11(I didn't test this solution other than getting a valid picture.) 
     12 
     13Adriaan -- [[Timestamp]]