Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

encrypting email addresses

  • Please log in to reply



    All Around Computer Nut

  • Retired Staff
  • 2,682 posts
need a little help, I want to encrypt my email addresses on my website so that crawlers can't use them to fill the email account with crap.

anyone know the process of doing this???

I used to know, but since I moved I lost most of my programming books, and I am drawing a complete blank on how to do it. :tazz:

the current "help" books out there don't cover this information, at least not that I can find.
  • 0




    Founder Geek

  • Administrator
  • 24,553 posts
There are plenty of email obfuscators on the web, but I prefer the javascript method:

Electronic mail: <script LANGUAGE="JavaScript">
<!-- Begin 
user = "yourname"; 
site = "yourdomain.com"; 

document.write('<a href=\"mailto:' + user + '@' + site + '\">'); 
document.write(user + '@' + site + '</a>'); 
// End --> 

Just insert that on your page where you want the email address displayed.
  • 0



    All Around Computer Nut

  • Topic Starter
  • Retired Staff
  • 2,682 posts
Thanks Admin
  • 0

Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP