iSnare.com - Free Content Articles Directory
Authors Contents [Advanced Search][Add OpenSearch][Job Search]
Distribute your articles to thousands of article sites for only $2 and below! Read more...

Index  Internet
 

Protect Your Users’ Privacy. Fight Spam.

 
[ Contact the Author] [ Send to a Friend] [ Article Publisher] [Make PDF] [ Print] [ Bookmark & Share]
 
Read our Terms of Service before reprinting this article. The submitter specified above has claimed the rights to this article.
Ted Peterson

On all the websites where users interact with each other, the email addresses have to be displayed. But this causes big troubles, due to the Spy Bots, who parse the websites and try to find email addresses. When they find an email address, this is added to a database, which will be soon sold to many companies that need potential customers. Then, in a few days, you will start receiving a lot of "super-offers", most of them being just damn scams, filling your inbox and making you waste a lot of time distinguishing useful emails from the spam-emails.

This is the reason why many people become members of sites using a "spam account", and I mean an email account that is used just for subscribing, and not a real and official email account. But what if you need to register on a site and you are forced to use an official email, something like support@yourdomain.com ? Should you register, though you know that soon your inbox will be full of useless Spam messages? Here comes the decision of webmasters, who may or may not try to protect their users' emails.

Many of the webmasters don't care about the consequences of showing their users' email addresses. But this can determine people not to register, as absolutely nobody wants to receive tones of Spam. On the other side, if the webmasters make efforts to protect their users' email addresses, the latter ones will surely be happy. And we all know that a happy user is a returning user!

That's why I recommend that all webmasters and site owners fight Spam and protect their users' privacy. There are 2 aspects that need to be considered: the text displayed and the link itself.

The HTML code of an email would look like: username@domain.com

To better understand the explanations, I will notate:

- mailto:username@domain.com as String1
- username@domain.com as String2.

Spy Bots try to find email addresses in both String1 and String2, so it would be best to encode them both.

The best way to hide String1 is to use JavaScript. For String2, a simple replacement between "@" and "." (dot) with other characters would be enough.
username [AT] domain [DOT] com

Because normally the user's email is taken from a table in a database, I will now show you how to quickly implement this anti-Spam solution. I will use PHP, one of the most used scripting languages nowadays. We assume that $support is the variable that contains the email address.

============================================
// we will now encode String2, replacing "@" and "."
$sup_text=str_replace("@"," [AT] ",$support);
$sup_text =str_replace("."," [DOT] ",$sup_text);

// we will now get the username from String1
$i=strpos($support,"@");
$sup_user=substr($support,0,$i);

// we will now get the domain name from String1
$sup_ext=""; $i=strlen($support);
while($support[$i]!=".") { $sup_ext = $support[$i].$sup_ext; $i--; }

// we will now get the domain suffix from String1
$sup_domain=""; $i--;
while($support[$i]!="@") { $sup_domain = $support[$i].$sup_domain; $i--; }

// we will now encode String1
$sup_hidden="$sup_text";

echo "Support: $sup_hidden";
============================================

Using this method, the users' emails are displayed, but it is much harder for the Spam Bots to find them. Of course, the people behind the Spam Bots can adapt the Spy Bots Engines, but parsing the pages would be much more difficult. If you also combine the solution I described with some random text replacements (in String2), you will have an anti-Spam shield that will make the email-hunters go away from your website.

Webmasters, web freelancers, forum administrators, do not hesitate! Use this method and gain your users' trust and respect. Protect their privacy and make them feel sure that their registering to your site won't make them receive hundreds of useless Spam emails.

Important NoticeDISCLAIMER: All information, content, and data in this article are sole opinions and/or findings of the individual user or organization that registered and submitted this article at Isnare.com without any fee. The article is strictly for educational or entertainment purposes only and should not be used in any way, implemented or applied without consultation from a professional. We at Isnare.com do not, in anyway, contribute or include our own findings, facts and opinions in any articles presented in this site. Publishing this article does not constitute Isnare.com's support or sponsorship for this article. Isnare.com is an article publishing service. Please read our Terms of Service for more information.

Ted Peterson writes for several websites like CoreDownload http://www.coredownload.com and Adolix http://www.adolix.com. You are welcome to visit them to read more articles.
Article Tags: email [See Dictionary], spam [See Dictionary]
Got a question about this article? Ask the community!
Article published on October 18, 2005 at Isnare.com
 
Rate this article:

Every Web Form Should Have an Autoresponder
Submitted by: Ted Peterson

How many times were you out of the office or in vacation How many times your clients sent inquiries but received replies after a couple of days because your were not there...

Why Use Contact Forms?
Submitted by: Ted Peterson

For an easy communication form, individuals and businesses, use contact forms for their guests This gives all visitors a way to communicate with your business or with you, regarding all kind of things from questions about products to ordering your products and services...

What Are HTML Forms & Contact Forms?
Submitted by: Ted Peterson

HTML forms and contact forms are a terrific enhancement for your website These are used by various companies and individuals for collecting all kinds of important information, from answers and surveys to order forms...

Fight The Hunters - Get A Shield Against Spam
Submitted by: Ted Peterson

They are everywhere, the secret agents of an international online gangster association stealing your peace and rubbing your nerves...

The Gimp Tutorial And Free Gimp Download
Submitted by: Peter Nisbet

If you are looking for a Gimp tutorial, or 'the Gimp' as many refer to it as, then probably the best sites are those offering Gimp video tutorials...

How To Generate Traffic Using Social Bookmarking Websites
Submitted by: John Don

Social bookmarking will allow you to generate traffic to your website You will need a working strategy in order to generate the real traffic...

Creating Real Money Through Google Adsense
Submitted by: Jack Wylde

Finding a solution from getting frustrated with Google Adsense is all about bringing some of the most interesting things about bringing some of the best of links to follow up with answers for unique contents in your page...

Effective Tips For Increasing Google Ad Sense
Submitted by: Jack Wylde

There are many ways of bringing some of the most effective Google Ad sense with more clicks to bring to a website...

How Affiliate Programs Work – Beginners Affiliate Marketing Guide
Submitted by: Jack Wylde

Many of you might be wondering how affiliate programs work In this article, we shall give you all the necessary information...

Earning Money Through an Adult Website
Submitted by: Jack Wylde

Earning from adult websites can be quite promising as there are plenty of opportunities through which the internet can bring you facilities to understand and bring endless money making options through adult website hits...

Paid Survey Strategies That Do Not Benefit Users
Submitted by: Scott Lindsay

Paid surveys are offered as a premier way to make money by sharing an opinion A counter product is known as paid emails...

Understanding and Implementing Sound SEO Principles
Submitted by: Scott Lindsay

Search Engine Optimization (SEO) is often talked about as if it is understood completely The trouble is there are some who are just being introduced to online marketing that have very little idea what SEO is and why it is important...

Make Money On The Web In These Basic Business Principles
Submitted by: Alicia Pierce

The Internet as an information superhighway has also become a venue for successful enterprises and ventures...

Quick Ways To Make Money Online – Very Easy!
Submitted by: Alicia Pierce

There are many quick ways to make money these days Most of these ways can come from doing some kind of activity on the internet...

How To Make Quick Money – Do It The Millionaires’ Way
Submitted by: Alicia Pierce

There are no shortcuts in how to make quick money the right way Those that seem to have a knack for it have been carefully honing their craft and talent for years and have paid their keep to the school of hard knocks...

Website Design and Development - Tips on How to Get Started With E-Commerce and be Successful
Submitted by: Daljeet Sidhu

If you want your business to thrive, do not wait for customers to come to you Take your products to your customers through internet and e-commerce...

Web Design Service - Important Steps to Better Security and Safety For Online Business
Submitted by: Daljeet Sidhu

Internet users are highly concerned about receiving spam mail and becoming vulnerable to identity theft...

Let Your Voice be Heard-Create a Blog
Submitted by: Cathy Lindsay

Since the beginning of recorded time, mankind has longed to be heard, to be remembered, to have their voice live on after their body is gone, in essence, to record their time on earth...

Some Tips For Building a Website
Submitted by: Cathy Lindsay

A lot has changed in the virtual world since its creation, and even in the last ten years the bounds made in technology have allowed for richer, more engaging content on the World Wide Web...

Isnare.com Footer Divider

© 2004-2009. Isnare Free Articles - An Isnare Online Technologies Free Articles Project. All Rights Reserved.   Privacy Policy