PhpRiot
Follow phpriot on Twitter
Sponsored Link
Download Article
Download this article or the entire “Anti-Spam Techniques In PHP” series with all listings and files.




More information
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store
Free iPad/iPhone App
Available on the App Store

  • PHP manual
  • Zend Framework manual
  • Smarty manual
  • PHP articles
  • PHP training

Related Articles

Anti-Spam Techniques In PHP, Part 1

Technique 4: Forms

The final technique in this article is to not display your email address at all.

Simply provide your users with a web form that links to your email address. This is really simple to do with something like PHP’s mail() function.

Obviously spammers can then send you spam through your web form, but this extremely unlikely as it is time consuming and not automated (although technically it could be automated – this will be discussed in the article where a technique known as CAPTCHA will be suggested).

In This Article