Anti-Spam Techniques In PHP Part 1

Tutorials Shared by the Internet Community


Anti-Spam Techniques In PHP Part 1

This tutorial provides a few simple techniques for protecting yourself and your web site from spammers.


  • Total Hits - 33587

  • Total Votes - 182 votes

  • Vote Up - 61 votes

  • Vote Down - 121 votes

  • Domain -

  • Category - PHP/Security

  • Submitted By - Chara Miteo

  • Submitted on - 2014-01-22 03:37:07


The issue here is that if you publish your email address on a web site, there's a good chance it will be harvested to be used by spammers. Many of these harvesting tools are crude and poorly written so it can be easy to protect yourself from these, although some are more sophisticated.

The first article in this series contains techniques for preventing spam for people who post to your web site.

The issue here is that if your web site allows anybody to submit content, chances are spammers will bombard it with links to their products. They do this to receive a higher backlink count, and therefore receive a higher Google PageRank, giving them better search engine results.

There are number of anti-spam techniques for preventing this, which will be discussed in the second article of this series.    More detail...

Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down