CodeIgniter Archives - WISHDD

CodeIgniter


google recaptcha 2.0 with codeigniter

Google reCAPTCHA implantation in codeigniter is pretty much easy and here’s the guide to get google reCAPTCHA in codeigniter. Get Google reCAPTCHA Keys First you have to generate your recaptcha keys by going to recaptcha admin panel and going to the bottom of the page and generate keys for reCAPTCHA 2.0.   Dowload Codeigniter Recaptcha Library Download reCAPTCHA Library for Codeigniter from Here and extract the files. Now, Copy the file from libraries folder to your codeigniter application’s libraries directory and config content to config directory. 3. copy generated keys to config directory’s recaptcha.php Create Form View Now for the......

Continue Reading


Codeigniter Hacks and Tricks

I have been using codeigniter for building small and medium level projects for quite some years now. There are few tweaks and tricks I would love to share with codeigniter enthusiasts to make their work bit easier.   HTML Email Templates If you are building an newsletter system of email delivery method  for sending out different emails with html contents, this one is for you to get the job done seamlessly. Create a folder in your views directory for email templates e.g. emailtemplates Create email templates views and save them in the......

Continue Reading


Codeigniter’s Built-in Captcha with Form Validation

Why Use Codeigniter’s Built-in Captcha Captchas are the images you use on your forms to keep bots off the bay. Codeigniter gives you a built-in captcha helper which you can use to generate some captchas. Bit confusing part for newbies is using codeigniter’s form validation with built-in captcha. Following is the working example of captcha generation and captcha validation in codeigniter. Controller Test.php View myform.php Download the compressed source code from here (mirror).   You can reach Waqas Yousaf through twitter @wiqi....

Continue Reading