Home arrow Articles arrow E-mail arrow How to hide email address from spammers

Sponsors

Banner

Most Viewed Sites

* HostGator
* BlueHost
* Web Hosting Pad
* POWWEB

How to hide email address from spammers PDF Print E-mail
Wednesday, 10 May 2006
PHP Code:
<script language=javascript>
var
linktext = "Contact Us";
var
email1 = "webmaster";
var
email2 = "sparkhaven.net";

document.write("<a href=" + "mail" + "to:" + email1 + "@" + email2 + ">" +
linktext + "</a>")
//-->
</script>


To customize, replace "Contact Us" with the text you want people to click on. Also, following email1 replace admin with your name (if your e-mail address is This e-mail address is being protected from spam bots, you need JavaScript enabled to view it , put webmaster there). Finally, following email2 replace sparkaven.net with the rest of your address.

If you are using Microsoft FrontPage, you can automate the process by using SPAM spoiler -
http://www.microsoft.com/frontpage/downloads/addin/searchdetail.asp?a=731
The plugin will automatically install on your computer and allow you to easily rebuild email links on the fly.
Comments (0)add
Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger

security image
Write the displayed characters


busy




Reddit!Del.icio.us!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Newsvine!Furl!Yahoo!Ma.gnolia!Free social bookmarking plugins and extensions for Joomla! websites! title=
Last Updated ( Monday, 11 August 2008 )
 
< Prev   Next >