E-mail List Archives
RE: Anti-spam email links in Javascript
From: Randy Pearson
Date: Apr 8, 2004 10:06AM
- Next message: Michael D. Roush: "Re: Anti-spam email links in Javascript"
- Previous message: Mike Brockington: "Anti-spam email links in Javascript"
- Next message in Thread: Mike Brockington: "Re: Re: Anti-spam email links in Javascript"
- Previous message in Thread: None
- View all messages in this Thread
We have a function in our (server-side) library that munges the email
addresses so that they still look normal and act normal, but most harvesters
that look for email address "patterns" will not notice them.
Here's the function. It's written in Visual FoxPro, but you get the idea:
FUNCTION HTMunge(tcEmail)
tcEmail = ;
STRTRAN(;
STRTRAN(;
STRTRAN(;
STRTRAN( m.tcEmail, "@", "@"), ;
".", "."), ;
":", ":"),
"m", "m")
RETURN m.tcEmail
ENDFUNC
-- Randy
>
- Next message: Michael D. Roush: "Re: Anti-spam email links in Javascript"
- Previous message: Mike Brockington: "Anti-spam email links in Javascript"
- Next message in Thread: Mike Brockington: "Re: Re: Anti-spam email links in Javascript"
- Previous message in Thread: None
- View all messages in this Thread