[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: [OT]: how to protect e-mail on website?
I use PHP to obfuscate the email address (could be done by hand) and
Javascript to rebuild the mailto. On some pages I put a graphic @ to make
screen scraping difficult. Any visible email addresses are put in as hex
codes.
function MyMailTo(who)
{
newwho = "" ;
for (i=who.length-1; i>=0; i--)
{
newwho += who.substr(i,1) ;
}
mail = "mailto:" +
newwho ;
mail = mail.replace(/=/, "@") ;
mail = mail.replace(/~/g, ".") ;
document.location=mail ;
}
<li>e-mail <a href=eMail
onclick="MyMailTo('ten~tenretnimooz=7zmot');return
false;">tomz7<img
src="/images/at1.gif"
border="0">zoominterne
;t.net</a></li>
Pete
*********** REPLY SEPARATOR ***********
On 13/02/2006 at 11:29 Gary wrote:
>hello,
>
>I have just set up a web site, and I need to know how you protect your
>e-mail address from being "scanned" and added to mailing
lists?
>
>In the past I have just created a link to my e-mail address, and
>obviously somehow it was scanned by a Bot, and received hundreds of
>emails!
>
>I assume some of you have your own web pages, how do you go about it?
>
>regards Gary
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
UKHA_D Main Index |
UKHA_D Thread Index |
UKHA_D Home |
Archives Home
|