I have enough you and your problems...use Recaptcha where all works fine !!!

http://cakephp.siotn.eu/2011/12/cakephp-2-recaptcha-plugin/

And stop coding with cakephp if you don't know to set this up to work !!

--
Lep pozdrav, Tilen Majerle
http://majerle.eu



2012/1/22 [email protected] <[email protected]>

> I will try this. However I get a new captcha every time. That is not
> the issue. So the image is ok. But in the file i got a line saying
> $_SESSION['captcha'] = value;
> The issue is that I cannot  access in any way the captcha session
> variable from cakephp.
>
> On Jan 21, 9:24 am, Daniel <[email protected]> wrote:
> > Why are you putting the captcha in the img directory?  You should have
> > the image source as an action, in your view (ctp) file:
> >
> > <?php echo
> $this->Html->image($this->Html->url(array('controller'=>'yourcontoroller',
> 'action'=>'captcha',
> >
> > time()),true), array('style'=>'','vspace'=>2)); ?>
> >
> > ... that way you can have a new captcha drawn every time from
> > 'yourcontroller'.  If you are using the Auth component then remember
> > to allow the 'captcha' action.
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to