Alternative reCAPTCHA library - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7) +--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13) +--- Thread: Alternative reCAPTCHA library (/showthread.php?tid=63867) |
Alternative reCAPTCHA library - parg-programador - 12-16-2015 Hello everbody, I create a alternative reCAPTCHA library to CodeIgniter v3.x, if you want see in the GitHub https://github.com/parg-programador/CodeIgniter3.x-Libraries/blob/master/Google_recaptcha.php, it's simple, but to me works. To use it you must download the Google_recaptcha.php file and paste into application\libraries. in Controller I do not recommend that you configure the library to load automatically in autoload.php but you to load only the controller you will use it. PHP Code: <?php in View In its Viewer you have to enter only the Google JavaScript using getJavaScript() method in the header. PHP Code: <head> And where you want the widget to appear reCAPTCHA use the getWidget() method. PHP Code: <div class="col-md-3 col-lg-6 col-xs-12"> |