The Captcha Plugin Hmmm... |
[eluser]europe72[/eluser]
I was just reviewing the CAPTCHA plugin class and couldn't help but wonder if the CAPTCHA data really belongs in session and not in a database...Creating, connecting to and fetching from a DB seems like a lot of work for a CAPTCHA. Also, I can't tell from the docs, but is the name of the image being created by the CAPTCHA pugin equal to the CAPTCHA random word itself? I would think that would be a security issue. Really just trying to open this up for discussion... =]
[eluser]ELRafael[/eluser]
I saw the plugin and didn't like. I use JPGraph Antispam as a plugin in CI. Better
[eluser]Pygon[/eluser]
IMO, session is a far better place to store captcha text.
[eluser]autoreverse[/eluser]
I too wondered about the need for a database. So I've cobbled together a helper based on Rick's plugin. It has two functions: create_captcha and validate_captcha. The captcha word is encrypted using crypt() and stored in the image file name. Needless to say, longer captchas are better so the default length is 6 characters. Feedback appreciated GZ : captcha_lite_helper.php.gz ZIP : captcha_lite_helper.php.zip
[eluser]otherjohn[/eluser]
I personally am using http://www.captcha.net/ (reCaptcha) API. Its easy to use and integrate.
[eluser]James Pax[/eluser]
[quote author="autoreverse" date="1195140029"]I too wondered about the need for a database. So I've cobbled together a helper based on Rick's plugin. It has two functions: create_captcha and validate_captcha. The captcha word is encrypted using crypt() and stored in the image file name. Needless to say, longer captchas are better so the default length is 6 characters. Feedback appreciated GZ : captcha_lite_helper.php.gz ZIP : captcha_lite_helper.php.zip[/quote] NICE!! Thankyou very much! Very helpfull!
[eluser]ardinotow[/eluser]
See this thread for easy implementation captcha http://ellislab.com/forums/viewthread/61678/
[eluser]winterain[/eluser]
sorry to dig this up, but the captcha_lite_helper was the only captcha I got working. Question now is how to use the validation function included in it? Code: function validate_captcha($data, $word='', $img_path = '', $img_url = ''){ |
Welcome Guest, Not a member yet? Register Sign In |