Welcome Guest, Not a member yet? Register   Sign In
Implementation of captcha in sign up form
#1

[eluser]yogesh_CI[/eluser]
Hi,

Please let me know how to use captcha validation in form. Any example which uses captcha is appreciated.

Thanks in advanced.
#2

[eluser]Thorpe Obazee[/eluser]
You can look into the CI captcha plugin in system/plugin. The instructions are included.
#3

[eluser]yogesh_CI[/eluser]
Thanks for help, I have implemented the captcha in form, but how to increase or decrease the font size on the captcha image, i didn't get it, please reply
#4

[eluser]Thorpe Obazee[/eluser]
Code:
if ($word == '')
   {
        $pool = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';

        $str = '';
        for ($i = 0; $i < 8; $i++)
        {
            $str .= substr($pool, mt_rand(0, strlen($pool) -1), 1);
        }
        
        $word = $str;
   }

I believe the 8 (8-1) is the word count.
#5

[eluser]yogesh_CI[/eluser]
I do not want the no of chars in word, but the font size of chars which are displayed on the image
#6

[eluser]TheFuzzy0ne[/eluser]
I ported SecurImage over to CodeIgniter [url="http://ellislab.com/forums/viewthread/105788/"]here[/url]. It's a much bigger library, but allows inline CAPTCHA refresh and also voice support for users who have bas vision.




Theme © iAndrew 2016 - Forum software by © MyBB