www.KNIGGA.com - downloads - captcha
| [ home ] | [ download my stuff ] | [ links ] | [ make me a banner ] | [ my calendar ] | [ my rants ] |
| [ about me ] | [ webcam ] | [ contact me ] | [ my resume ] | [ my pictures ] | [ my stuff ] |
|
captcha a completely automated public turing test to tell computers and humans apart. basically, this generates an image with distorted text in it. a human should be able to figure out what is written, but a program won't. i use it to make sure bots don't post ads in the comments part of my website. to use it, you must have a readable directory of truetype fonts, and only truetype fonts. then set the variable $fontFolder to that path. next, all you have to do is set up a form and handling script to ask the user to enter the text and then compare what was entered to $_SESSION["captchastr"]. make sure to kill the session after authentication is complete by using session_destroy(). without doing that, an authenticated session could be reused, thereby defeating the whole purpose. Download: captcha |
|
everything on this site, including design, content and graphics, is property of someone. please do not use anything without permission.
this site is best viewed in at least 256 colors. also, anything less than 1024x768 resolution makes the site look crappy. © 2003 - 2009 kristoffer knigga | view this page's source! |