Rate: | Price: Free | Publisher: Office Site | Demo: | Views: 3089
PHP Script Codes > SafeMail
One way spammers get your email address is with programs written to extract addresses from web pages. These robots, as they are called, look for mailto: links in the body of web pages. A good way to protect your email address from spammer lists created in this way is keep your email address off web pages. But what if you want people to have your links to your email address? This script, SafeMail, solves the problem. SafeMail lets you put your address on the page using javascript's document.write method. With this, your user's browser displays your email link exactly as if you had coded it with HTML, except you can achieve this effect without at any point putting the string of your email address in the code. This means spambots find nothing, and you stay clear of spam.