I find CAPTCHA images to be a hassle on the sites I visit and don't
subject my users to the same.

You may want to try scrapping that approach and instead using logic
questions.

For instance, ask users if the sky is blue, if snowmen melt under
extreme heat, or whether a brick or a feather is heavier.

The question can use variables passed by the controller, or an actual
model full of different questions to be loaded randomly.

You can than validate that field like any other.

An example is http://digbiz.baungenjar.com/users/register where I ask
a simple math question to new users.  Although i must recommend NOT
using math problems, intelligent bots can solve these problems.
(http://www.google.com/search?q=eight+minus+three) Since that site is
just a POC for a client I haven't bothered to change it.

Just thought I would suggest another approach :)

On Oct 12, 2:11 pm, bookme <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using Integrate CakePHP with Kcaptcha from bakery.
>
> Finding problem at the time of captcha validation from controller.
>
> I found below code
> $this->User->validate = array('captchaText' => array('Mycaptcha' =>
> array('method' => 'validateCaptcha', 'message' => 'your error
> message')));
>
> I tried to find out definition for this method but could not succeeded
>
> Can any one tell me what's Mycaptcha here and where should I write
> code for validateCaptcha function.
>
> I put this code at three different places but could not succeed, User
> model , captcha component or a helper validation.php
>
> Please tell me what 's Mycaptcha and where should i put code of
> validateCaptcha function.
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to