On all websites where users interact with each other, the e-mail addresses should be posted. But this great event, the disorder Spy Bots, which parse the websites & 39; and try to find the e-mail addresses. When they find an e-mail address, it is added to a database, which will soon be sold to many companies that need potential customers. Then, in a few days, you will start receiving a large number of offers super " ", most of whom are & 39; just damn scams, filling your inbox and you lose much time distinguishing useful e-mail spam messages.
This is why many people become members of sites using an account " " spam, and I mean an email account, which is used only for subscribing, and not a & 39; real and official e-mail account. But what if you need to register on a site, and you are obliged to use an agent & 39; messaging, something like support@yourdomain.com? Should you register, even if you know that soon your inbox will be full of useless Spam messages? Here is the decision of webmasters who may or may not try to protect its users emails.
Many webmasters have little regard for the consequences of showing their users& 39; email addresses. But this can determine people not & 39; s register, as absolutely nobody wants to receive spam tones. & 39; From the other hand, if the webmasters make efforts to protect their users& 39; email addresses, it will certainly be happier. And we all know that & 39; a happy user is a user back!
That why I recommend that all webmasters and site owners fight Spam and protect their users& 39; privacy. There are 2 aspects that must be taken into account: the text displayed and the link itself.
The HTML d & 39; an email like the following: username@domain.com To better understand the explanation, I will note - mailto: username@domain.com as String1 - username@domain.com as String2. Spy Bots try to find e-mail addresses in both String1 and String2, & 39; and that it would be better to encode both.
The best way to hide String1 is & 39; using JavaScript. For String2, a simple replacement between " @ " and ". " (Point) d & 39; with other characters would be sufficient. Username field [AT] [DOT] com
Because normally & 39; s email user is taken out from & 39; a table in a database, I will show you how to rapidly implement this anti-spam solution . I am going to use PHP, a scripting languages most commonly used today. We assume that the support dollars is the variable that contains the & 39; e-mail address.
============================================ / / We shall now String2 encoder replacing " @ " and ". " $ Sup text = str replace (" @ ", " [AT] ", $ Support); sup text $ = str replace (". ", " [DOT] ", $ sup text);
/ / We are now going to get the user name & 39; String1 of $ I = strpos ($ underwear, " @ "); $ sup user = substr ($ support, 0, $ i) / / We are now going to get the domain name from sup ext $ string1 = " "; $ i = strlen ($ support), while ($ support [$ i]! = ". ") ($ $ = sup ext support [$ i]. Sup ext $ $ i -;)
/ / We are now going to get the domain suffix of String1 $ sup domain = " "; $ I -; while ($ support [$ i]! = & quot @ ") ($ $ = sup domain support [$ i]. Sup domain $ $ i -;)
/ / We now encode Sup hidden $ string1 = " $ sup text "; &
echo quot; Support: $ sup hidden "; ================================= ======= ====
Using this method, users of e-mails are displayed, but it is much harder for spam bots to find them. Of course, people behind spam bots can adapt the Spy Bots Motors, but the & 39; page analysis would be much more difficult. If you also combine the solution that I have described & 39; replacements with a few random text (in String2), you have a shield anti-spam which will & 39; of the email-hunters move away from your website.
Webmasters, web independent managers forum, feel free & 39; n! Use this method your users and to win the trust and respect. To protect their privacy & 39; and that they feel confident that their registration to your site will not make unnecessary receive hundreds of spam.
You can see this method successfully applied on http://www.coredownload.com/, a brand new d & 39; archiving software, with more than 23000 titles and 8000 developers. launa carmel
Bookmark it:
Monday, March 31, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment