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

ServerGrove Blog: Symfony2 components overview: EventDispatcher

MakeBeta Blog: Scraping Links With PHP

DevShed: Logging in PHP Applications

SitePoint PHP Blog: Stress-test your PHP App with ApacheBench

SitePoint PHP Blog: Dart and PHP: A Legacy Animal Guess Game


Community Events





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


community composer interview opinion list framework voicesoftheelephpant series artisanfiles podcast laravel introduction release security conference tool language symfony version library

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