Click to See Complete Forum and Search --> : simpel captcha that i can add to existing cgi scipts


pjrey
05-03-2008, 06:29 PM
hi, title says it all...
i have a couple scripts (guestbook, comment post, etc...)
i would love to put a simple simple captcha on it.. just text, doesnt need to be anything fancy at all... (i know the easy ones are spoofed easily)... just something....
something that i can add to my existing scripts with ease!
this is all very new to me...

if someone knows of a script, and could explain how to implement it into an existing script that would be great!!
thanks so much
pj

NogDog
05-04-2008, 01:54 PM
You might want to take a look at www.recaptcha.net. They have ready-made PHP plug-ins (http://recaptcha.net/plugins/php/) to make it pretty easy to incorporate into your scripts.

pjrey
05-04-2008, 02:00 PM
thanks, i saw that already...
i want something that i run entirely myself... and SIMPLE.. no audio, just simple... like these guys:
http://www.uselessapplications.com/en/Contact.aspx

pj

NogDog
05-04-2008, 03:02 PM
Frankly, I find it easier to use recaptcha than writing my own, no matter how simple it is, and it even supports a secondary, useful purpose. But if you don't like it, there must be hundreds of PHP captcha scripts out there. Most of them basically do something like:

1. generate a random string
2. convert that string into an image via the GD image functions (www.php.net/image)
3. save the string in a session variable
4. display the image and input element in the form
5. in the form-handler script, verify that the value from the form matches that saved in $_SESSION (using strtolower() or something similar on each value if you want to make it case-insensitive)

pjrey
05-06-2008, 05:21 PM
i am trying out open captcha v1.2
cant figure out how to install it... read it over...
http://pjrey.com/captcha/src/
-images are not showing
- how do i have it proccess/not process my cgi script?
grr..
p