validation script

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lycialive
Forum Newbie
Posts: 9
Joined: Tue Oct 06, 2009 12:45 pm

validation script

Post by lycialive »

I'm a php dummy trying to muddle my way through. Is it hard to write a validation script for a simple contact form? I'm getting tons of spam email replies. I guess I'm looking for a capthcha type of thing. Can someone point me to a place where I might get some easy validation code if there is such a thing, or better yet, a place where I can learn to do it myself? thanks
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: validation script

Post by Jonah Bron »

reCAPTCHA is a great captcha service. It's easy to use, and probably the most popular.

http://www.google.com/recaptcha

If you want to avoid making people fill out a CAPTCHA, there are alternatives; though they're not as easy to implement as a CAPTCHA.

http://blogs.sitepoint.com/2009/05/14/c ... ernatives/
lycialive
Forum Newbie
Posts: 9
Joined: Tue Oct 06, 2009 12:45 pm

Re: validation script

Post by lycialive »

Thank you so much for the help and the resource tips, I'll give it a try.
Post Reply