[Catalyst] pratical use of Catalyst::Plugin::Captcha

Christopher H. Laco claco at chrislaco.com
Sat Apr 29 19:10:15 CEST 2006


T. H. Lin wrote:
> hallo,
> 
> has anyone worked with Catalyst::Plugin::Captcha ?
> 
> Catalyst::Plugin::Captcha create image and does  so...
> 
> $c->res->headers->expires(time());
> $c->res->headers->header('Last-Modified' => HTTP::Date::time2str);
> $c->res->headers->header('Pragma' => 'no-cache');
> $c->res->headers->header('Cache-Control' => 'no-cache');
> $c->res->content_type("image/$mime_type");
> $c->res->output($image_data)
> 
> It directly return a image data.
> 
> can anyone give a hint?
> how to integrate this plugin with for example a signup controller...
> 
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
> 
> 

I use it here: http://handelframework.com/wiki/

You can checkout the source here:
http://svn.handelframework.com/handelframework.com/trunk/lib/HandelSite/Controller/Wiki.pm

-=Chris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: OpenPGP digital signature
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060429/62ee304d/attachment.pgp 


More information about the Catalyst mailing list