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

Gonzalo Ayuso's Blog: Database connection pooling with PHP and React (node.php)

Tobias Schlitt\'s Blog: Thoughts on trackback spam

Ryan Malesevich's Blog: Fight Spam Comments with Bad Behavior and Akismet

Michael Babker's Blog: The Death of Joomla! - Negative Attitudes & Closed Minded Leadership

Internet Super Hero: PHP: "mysqlnd is awesome"


Community Events





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


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

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