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

NETTUTS.com:
The Best Ways to Fight Spam
Oct 06, 2008 @ 14:30:28

Spam is a constant burden for anyone on the web, be it through email or via something like comments on a website. The NETTUTS site can't help so much with the first one, but they've come up with a new tutorial that can help with the second with a few methods.

Deciding on the best method of spam prevention on your blogs, forums, or even contact forms can be difficult. In this article we will take a look at a service called Akismet and how it can help. We will also look at why some other methods of fighting spam fail.

They give a few ways to waylay the spammers including:

  • Disallowing multiple consecutive submissions
  • Keyword Blacklist
  • CAPTCHA
  • and a service called Akismet

They go into a bit more detail on this last one, even going so far as to included code (this class) and examples of how to let the Akismet service see if something is spam or not. Links to libraries for other languages are included too.

tagged: fight spam captcha consecutive keyword blacklist akismet tutorial

Link:


Trending Topics: