Hi,
I wrote function like dis..
class QuickPostsController extends AppController{
var $components = array('Captcha');
var $helpers =
Hi,
I wrote function like dis..
class QuickPostsController extends AppController{
var $components = array('Captcha');
var $helpers =
Hi, I am cakePHP learner..
I am making an simple application like Quick post of jobs *in* this I want
to implement the *Captcha* *in* my form.For this I help from the link :
http://bakery.*cakephp*.org/ goog_1259558951763articles/view/improved-*
captcha* goog_1259558951763-component
I have added
Make sure you have the line:
var $components = array('Captcha');
var $helpers = array('Captcha');
..in the controller that is calling the component.
As a general help point, if you click the Notice (8) link, you'll
see a lot of useful information that can help track down an error.
On Nov 30,
Thanks for your reply now I am getting.. captcha image...
but how to check after submitting form whether the entered captcha is
correct?.
Thanks,
Vidya
On Mon, Nov 30, 2009 at 6:42 PM, jburns jeremybu...@me.com wrote:
Make sure you have the line:
var $components = array('Captcha');
var
I have had a quick scan through the code (I haven't used this before)
and it appears it is this line that does the validation:
function add() {
if (!empty($this-data) $this-Captcha-protect()) {
$this-ModelName-save($this-data);
}
}
On Nov 30, 1:16 pm, Vidya N