Go to MiroWeb.com home page
 






Protect your email on your website

You can not put your email on your website unprotected, unless you want more and more spam emails.

There are a couple of ways to protect an email address so you can display it on your website.  I want to show you the easiest one. Usually an amateur webmaster will not use FORMS pointing to the safe PHP script like I do, or use complicated javaScripts. So there is one simple way, using Unicode!

Instead of displaying the usual email@domain.com , use the following code:

<A HREF="mailto:YourEmail&#64;YourDomain.com">My email</A>

This will appear in a web browser as: My email

You can see you need to replace the "@" with  "&#64;" and in stead of displaying email@domain.com   display My email

 


Another way is javascript maybe little more secure:

First change the youremail , yahoo and .com so its your email.
First part of this script will go in to the HEAD of your HTML code.


<script language="javascript" type="text/javascript">
<!--
function generate_address( username, hostname ) {
var domain = ".com";
var atsign = "&#64;";
var addr = username + atsign + hostname + domain;
document.write(
"<" + "a" + " " + "href=" + "mail" + "to:" + addr + ">" +
addr +
"<\/a>");
}
//-->
</script>

 

Then place this code in the BODY as you need


<script language="javascript" type="text/javascript">
<!--
generate_address( "youremail", "yahoo" );
//-->
</script>
<noscript>
<!-- your browser does not support javaScript  -->
</noscript>


To protect you email from spammers the best way is to start with a new email address and remember this:


Do not publish your email address online.

Do not participate in an online discussion list or forum if they post your email address or you can post your temporary email address.

Do not type your email address into a web form. Use the temporary email address every time you buy or sign up for things.


Do not send mail to an address asking that you be removed from their list. This only helps spammers because they can take your originating email address and verify.

2/03/2004 by Miro Hvezda

Comments:

 

Why is E-mail like a penis ? --- Thursday, September 15 2005, 15:30

Some folks have it, some don\'t. Those who have it would be devastated if it were ever cut off. They think that those who don\'t have it are somehow inferior. They think it gives them power. They are wrong. Those who don\'t have it may agree that it\'s an nifty toy, but think it\'s not worth the fuss that those who do have it make about it. Still, many of those who don\'t have it would like to try it. It can be up or down. It\'s more fun when it\'s up, but it makes it hard to get any real work done. In the long-distant past, its only purpose was to transmit information considered vital to the survival of the species. Some people still think that\'s the only thing it should be used for, but most folks today use it for fun most of the time. Once you\'ve started playing with it, it\'s hard to stop. Some people would just play with it all day if they didn\'t have work to do. It provides a way to interact with other people. Some people take this interaction seriously, others treat it as a lark. Sometimes it\'s hard to tell what kind of person you\'re dealing with until it\'s too late. If you don\'t apply the appropriate protective measures, it can spread viruses. It has no brain of its own. Instead, it uses yours. If you use it too much, you\'ll find it becomes more and more difficult to think coherently. We attach an importance to it that is far greater than its actual size and influence warrant. If you\'re not careful what you do with it, it can get you in big trouble. It has its own agenda. Somehow, no matter how good your intentions, it will warp you behavior. Later you may ask yourself \"why on earth did I do that?\" It has no conscience and no memory. Left to its own devices, it will just do the same things it did before.


EMAIL --- Thursday, October 27 2005, 02:17

An unemployed man is desperate to support his family of a wife and three kids. He applies for a janitor\'s job at a large firm and easily passes an aptitude test. The human resources manager tells him, \"You will be hired at minimum wage of $5.15 an hour. Let me have your e-mail address so that we can get you in the computer. Our system will automatically e-mail you all the forms and advise you when to start and where to report on your first day.\" Taken back, the man protests that he is poor and has neither a computer nor a e-mail address. To this the manager replies, \"You must understand that to a company like ours that means that you virtually do not exist. Without a e-mail address you can hardly expect to be employed by a high-tech firm. Good day.\" Stunned, the man leaves. Not knowing where to turn and having $10 in his wallet, he walks past a farmers\' market and sees a stand selling 25 lb. crates of beautiful red tomatoes. He buys a crate, carries it to a busy corner and displays the tomatoes. In less than 2 hours he sells all the tomatoes and makes 100% profit. Repeating the process several times more that day, he ends up with almost $100 and arrives home that night with several bags of groceries for his family. During the night he decides to repeat the tomato business the next day. By the end of the week he is getting up! early every day and working into the night. He multiplies his profits quickly. Early in the second week he acquires a cart to transport several boxes of tomatoes at a time, but before a month is up he sells the cart to buy a broken-down pickup truck. At the end of a year he owns three old trucks. His two sons have left their neighborhood gangs to help him with the tomato business, his wife is buying the tomatoes, and his daughter is taking night courses at the community college so she can keep books for him. By the end of the second year he has a dozen very nice used trucks and employ s fifteen previously unemployed people, all selling tomatoes. He continues to work hard. Time passes and at the end of the fifth year he owns a fleet of nice trucks and a warehouse which his wife supervises, plus two tomato farms that the boys manage. The tomato company\'s payroll has put hundreds of homeless and jobless people to work. His daughter reports that the business grossed a million dollars. Planning for the future, he decides to buy some life insurance. Consulting with an insurance adviser, he picks an insurance plan to fit his new circumstances. Then the adviser asks him for his e-mail address in order to send the final documents electronically. When the man replies that he doesn\'t have time to mess with a computer and has no e-mail address, the insurance man is stunned, \"What, you don\'t have e-mail? No computer? No Internet? Just think where you would be today if you\'d had all of that five years ago!\" \"Ha!\" snorts the man. \"If I\'d had e-mail five years ago I would be sweeping floors and making $5.15 an hour\". Which brings us to the moral:......................... Since you got this story by e-mail, you\'re probably closer to being a janitor than a millionaire. Sadly, I received it also.



The comment form for this page has been closed.
For future comments, discussion, or support,
use my new forum for webmasters.

Title or Name:

Your comments:






~ ~

Copyright: © 2004 MiroWeb.com

Cool staff

 
About Czech Republic
Czech Republic facts, Czech Republic architecture, Czech Republic History, Czech Republic Scientists, Business opportunity in Czech Republic
http://czech-republic.premiumfinder.com  -9k
 
Premium research center
Integrated search engine, Find music, pictures, movies, news, software, and more, using the best search engines.
www.premiumfinder.com/ - 19k
 
$6 domain name premium hosting service
$ 4.95 for 400 MB Hosting 5 GB Transfer 1 Domain hosted 100 POP3 accounts 100 Email aliases 10 SubDomains 1 MySQL database FREE ...
www.premiumhostingservice.com/ - 15k
 
Banner exchange, flash banner design, SEO
Free banner exchange, banner design, html banner design, , website design, search engine optimization, search engine submission service.
www.premiumbannerexchange.com/ - 13k