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).