Rate: | Price: Free | Publisher: Office Site | Demo: | Views: 653
PHP Script Codes > Email obfuscator and encoder
Email harvesting is a real problem nowadays; publishing an email address on a web page means exposing it to automated email collection softwares. Once it's been collected there no way of getting rid of spam. The best way to avoid this is obfuscating and encoding email addresses; this simple javascript script does exactly that. It splits an address in six different parts, so that bots are not able to recognize it, and it also encode the @ symbol and the . (dot) using ascii codes, just to make it harder for bots to decode it. Even if the email harvesting software can read javascript and put the different parts of the address together, it would obtain an useless text like this: myaddress@mydomain 6;com instead of myaddress@mydomain.com.