ReCAPTCHA library - ignited |
[eluser]w0bbes[/eluser]
[quote author="Lit_Tiger" date="1303425984"]please try my one http://ellislab.com/forums/viewreply/864505/[/quote] Thanks for your reply! Where do i use this part: Code: $resp = $this->recaptcha->recaptcha_check_answer ( Atm, im using it after $this->form_validation->run() but it says: Code: A PHP Error was encountered
[eluser]Lit_Tiger[/eluser]
did u download the library ? i m not sure u use the Jaytee's one or my one?
[eluser]w0bbes[/eluser]
[quote author="Lit_Tiger" date="1303429275"]did u download the library ? i m not sure u use the Jaytee's one or my one?[/quote] Using yours
[eluser]Lit_Tiger[/eluser]
you download library file from http://www.thetechspace.com/2011/03/04/r...deigniter/ then saved into lib folder then $this->load->library('recaptcha'); loaded right? if so , should be work . could u show me .. some more code above that?
[eluser]w0bbes[/eluser]
[quote author="Lit_Tiger" date="1303430806"]you download library file from http://www.thetechspace.com/2011/03/04/r...deigniter/ then saved into lib folder then $this->load->library('recaptcha'); loaded right? if so , should be work . could u show me .. some more code above that?[/quote] this is part of the code above Code: $this->form_validation->set_rules('naam','naam','required|xss_clean');
[eluser]Lit_Tiger[/eluser]
Did u set the keys? Like Code: // Get a key from https://www.google.com/recaptcha/admin/create
[eluser]w0bbes[/eluser]
Yep i did. when i submit i get: Code: A PHP Error was encountered
[eluser]Bangon Kali[/eluser]
[quote author="w0bbes" date="1303431497"]Yep i did. when i submit i get: Code: A PHP Error was encountered Can you post your code on that file along that line number? Perhaps a link from pastebin.com in order to be more clear with code highlighting.
[eluser]w0bbes[/eluser]
Line 48 is the last line on the code below: Code: if($this->form_validation->run()){ Line 106 is this line: Code: $error = $resp->error;
[eluser]Bangon Kali[/eluser]
Code: function _check_recaptcha() { Please check if you have your private key properly covered in your code. |
Welcome Guest, Not a member yet? Register Sign In |