[Catalyst] Howto Catalyst::Plugin::Captcha ?

Matthias Dietrich mdietrich at cpan.org
Fri May 8 15:48:15 GMT 2009


>> Calling in controller
>>
>> $c->create_captcha();
>>
>> imediatelly displays the image. How can be the image passed to TT  
>> view?
>
> In your TT template:
> [% c.create_captcha %]

Accoring to the code I guess it is meant as calling create_captcha()  
in a controller that is accessed via an img tag:

  <img src="http://my.app/createcaptcha" />

...where "createcaptcha" is the controller calling the Plugin::Captcha  
method.


-- 
rainboxx Matthias Dietrich
Freier Software Engineer

rainboxx                  |  Tel.: +49 (0) 151 / 50 60 78 64
Tölzer Str. 19            |  Mail: matt at rainboxx.de
70372 Stuttgart           |  WWW : http://www.rainboxx.de

XING: https://www.xing.com/profile/Matthias_Dietrich18
GULP: http://www.gulp.de/profil/rainboxx.html

NEU: Auf Perl spezialisierte Projektvermittlung!
      Bald mehr auf http://www.perl-experten.de



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: Signierter Teil der Nachricht
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090508/1e8414ba/PGP.pgp


More information about the Catalyst mailing list