News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Script-Tutorials.com:
How to Protect any Site from Spam using Akismet
May 30, 2011 @ 08:10:59

From Script-Tutorials.com there's a new post that wants to help you prevent one of the biggest menaces of the social online world - spam. Their solution uses the Akismet service to detect possible spam and notify you.

What is spam? - this is (usually) any message which not relevant to this page - usually just an advertisement of something (and even with a backward link to another site). Yes, you can put the first line of defense - a captcha, but I think spammers are also ready for this and find ways to avoid the CAPTCHA (or, they even can solve its by self). In today's tutorial I'll show you how to create a second line of defense against spam - using web services - for example akismet.

They include all the code you'll need to create a simple interface to the Akismet system with the help of this library that handles a lot of the connection and messaging for you. They apply it to a comment form and check the POSTed values against the Akismet spam checking. You can download the full package to get started immediately.

0 comments voice your opinion now!
spam protect akismet tutorial


blog comments powered by Disqus

Similar Posts

Srdjan Vranac's Blog: Custom Repository with DIC in Symfony2

PHP-Tools Blog: Stubbles Blog is live!

Lorna Mitchell: 9 Magic Methods in PHP

Oracle Technology Network: DeployPHP Series, Part 5 - Zend Core for Oracle Quick Start

Robert Basic's Blog: Styling the default Zend_Form layout


Community Events





Don't see your event here?
Let us know!


language list interview symfony2 introduction code threedevsandamaybe refactor opinion series framework developer release laravel unittest community install api podcast testing

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework