According to Wikipedia, more than 97% of all e-mails sent over the net are unwanted. That's around 200 billion spam messages per day. To keep this insane amount of spam out of your inbox, you should keep your e-mail safe when you display it on web. One of the ways to keep it safe is to obfuscate it. In this tutorial I'll show you how to create a script that will do just that.
The script converts the email address into a ROT13 obfuscated versions and reverse it. The spam bots harvesting addresses won't see it as a valid format but the user, thanks to some CSS rules, will see it and be able to copy it easily. Each part of the script is explained in the post and you can see a demo of it in action here.