Simple captcha - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Simple captcha (/showthread.php?tid=27708) |
Simple captcha - El Forum - 02-18-2010 [eluser]MaD HamsteR[/eluser] Description This is simple captcha validation library, based on sessions, no DB required. It can be used as stand alone class as well, CI isn't necessary. Requirements GD Sessions Demo & download http://dc.alfaspace.net/captcha Note This captcha uses SESSIONS, so before using it ensure that user has browser cookies on! Config You can configure paths, fonts, and backgrounds and more in captcha/captcha.php CodeIgniter users DON'T FORGET TO CHANGE FONTS FOLDER & BGS PATHS! You can also confiruge captcha at runtime. Use GIF for backgrounds. Example usage in CI Code: <?php The idea When we show captcha image on page like Code: <img src="index.php/welcome/captcha"> |