|
NAMEGantry::Utils::Captcha - a way to mange captchas SYNOPSIS my $captcha = Gantry::Utils::Captcha->new( 'h2xsg' );
$captcha->add( {
base_url => $self->doc_rootp() . "/images",
image => 'captcha-image-1.jpg',
key => 'chair',
label => 'looks like a chair to me',
alt_text => 'sometimes it feels reaally good to sit',
} );
$captcha->add( {
base_url => $self->doc_rootp() . "/images",
image => 'captcha-image-2.jpg',
key => 'yoda',
label => 'hrm ... yoda you are',
alt_text => 'use the force, Luke',
} );
$captcha->add( {
base_url => $self->doc_rootp() . "/images",
image => 'captcha-image-3.jpg',
key => 'biking',
label => 'biking is fun',
alt_text => 'two wheels and a seat',
} );
or
my $captcha = Gantry::Utils::Captcha->new(
'h2xs',
[
{
base_url => $self->doc_rootp() . "/images",
image => 'captcha-image-3.jpg',
key => 'biking',
label => 'biking is fun',
alt_text => 'two wheels and a seat',
}
]
);
DESCRIPTIONThis module is a utility to help with captchas. METHODS
SEE ALSOGantry(3) LIMITATIONSThis module depends on Gantry(3) AUTHORTim Keefer <tkeefer@gmail.com> COPYRIGHT and LICENSECopyright (c) 2005-7, Tim Keefer. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
|