News Feed
Sections




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

PHPit.net:
No more spam; Akismet and PHP to the rescue!
May 22, 2006 @ 05:57:31

If you're tired of spam comments or people flooding your PHP application with junk text and links, you'll definitely want to check out this new tutorial from PHPit.net. It looks at how to integrate the Akismet anti-spam service into your application.

I've started using Akismet myself recently, and it has completely cut down all the spam I was receiving. Normally I'd get about 700 spam comments a day on my various blogs and websites (including PHPit), but since installing Akismet I've only received four. That means that approximately 99,5% is being caught by Akismet, which is an extremely good rate, and what's even better is that Akismet hasn't caught one good spam comment (no positives). Sounds pretty good, right?

In this article you'll learn how to use the Akismet anti-spam service to prevent any spam from being added to your PHP website. Live examples and demo's are included.

To start off right, you need to know how the service works and what kind of methods you'll need to access it. They show a simple connection to the service as well as two functions to mark something as spam and to mark it as non-spam (or 'ham' as he calls it). He also links to their development page and to the WordPress plugin that performs the same action.

1 comment voice your opinion now!
spam block akismet connection positive negative spam block akismet connection positive negative


blog comments powered by Disqus

Similar Posts

Chris Jones' Blog: PHP OCI8 and Oracle 11g DRCP Connection Pooling in Pictures

9Lessons: Import GMail Contacts Google OAuth Connect with PHP

Brian Swan's Blog: SQL Server Driver for PHP Connection Options: ReturnDatesAsStrings

DZone.com: MongoDB Driver Tips & Tricks: PHP

Ilia Alshanetsky's Blog: Database connection fallback with PDO


Community Events





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


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

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