[TYPO3-ect] bananas - question about captcha
Daniel Brüßler
info at -remove-patchworking.de
Fri Feb 9 13:10:43 CET 2007
Hello Elmar,
in the moment $captcha->ok is false, when I type in the correct answer
into the captcha-field.
I think I didn't forget how to substract 7 from 220 and how to add 0 to
220 ;-)
Do you know what I do wrong?
$captchaClassName = tx_div::makeInstanceClassName('tx_lib_captcha');
$captcha = new $captchaClassName($this);
if(!$captcha->ok($this->getClassName())) { // same ID as in captchaAction
print '-- captcha->ok=TRUE --<br/>';
...
}else{
print '-- captcha->ok=FALSE --<br/>';
}
+++--------
by the way: it's all very great - for example I added "captchaQuestion"
in the lang-xml and captcha-template and it's automatically parsed like
magic. Wow!
kind regards
Daniel Brüßler
More information about the TYPO3-team-extension-coordination
mailing list