With all of the issues surrounding spam on comments and emails, it only makes sense that people have developed ways to try to curb them both. Thankfully, these methods have made their way to PHP, and this new article from the O'Reilly Network spotlights one of them - PEAR's Text_CAPTCHA.
When you have publicly available forms on the Web, you are always prone to attack by people who want to use your application for their own purposes. Forums, polls, guestbooks, and blogs are the popular places for robots to try to generate inauthentic posts on your site. Many sites, such as Yahoo, now employ CAPTCHA. CAPTCHA, or "completely automated public Turing test to tell computers and humans apart," is a project of the Carnegie Mellon School of Computer Science that sets out to determine if a human or a computer initiated a request. CAPTCHA technology enables you to discern human requests from computer generated requests on the Web, where such a distinction is difficult.
With the aid of this tutorial and this package, it's simple to implement a CAPTCHA system on your own page, helping to abate the malicious scripts that might come your way...




