Monday, January 23, 2012

Re: captcha problem

How to use recaptcha without code in PHP. If you are not ressistent
to questions maybe you should change your line of work. Maybe cleaning
tables will work better for you. You never know until you try. I'll
code one more time in cakePHP and then I'll stop :d.

On Jan 22, 5:55 pm, Tilen Majerle <tilen.maje...@gmail.com> wrote:
> 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 Majerlehttp://majerle.eu
>
> 2012/1/22 xparm...@yahoo.com <xparm...@yahoo.com>
>
>
>
>
>
>
>
> > 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 <danwgr...@gmail.com> 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 sitehttp://ask.cakephp.organd help
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com For more options, visit this group
> > athttp://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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: