Anti-Spam Techniques In PHP, Part 1
This short series of articles provides a few simple techniques for protecting yourself and your web site from spammers.
It does this from two perspectives:
- Protecting people (including yourself) who post to your web site from being spammed (this article)
- Protecting your web site from being spammed (part 2)
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.