Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

How to post email address on website?


  • Please log in to reply
6 replies to this topic

#1 corgwork

corgwork

  • Members
  • 12 posts
  • OFFLINE
  •  
  • Local time:10:27 PM

Posted 21 April 2010 - 12:13 PM

I'm familiar with html and css. I would like to put my email address on my webpage so people can contact me. How do I do it in a way that it's protected from bot crawlers?

BC AdBot (Login to Remove)

 


#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:08:27 PM

Posted 21 April 2010 - 12:31 PM

Create it as an image.

#3 corgwork

corgwork
  • Topic Starter

  • Members
  • 12 posts
  • OFFLINE
  •  
  • Local time:10:27 PM

Posted 21 April 2010 - 01:06 PM

Like this? and link to where?

<a href=""><img src="C:/photo.jpg" width="100" height="20" alt=""></a>

#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:08:27 PM

Posted 21 April 2010 - 01:25 PM

All you asked was how to post your email address; you didn't say anything about actually doing anything with it. If you want to make a clickable image, you need to do something else. For example:
<a href="http://www.w3.org"><img src="w3c_home.gif"
  alt="World Wide Web Consortium Home"
  width="72" height="46" border="0" /></a>

IF you want to send an email from the image, then you need to do something like this:
<div class="footer">
	<a href="mailto:louis@louiescc.com?subject=Contact from website">
	<img name="contact" class="style1"  src="contact.gif"  /></a>


#5 corgwork

corgwork
  • Topic Starter

  • Members
  • 12 posts
  • OFFLINE
  •  
  • Local time:10:27 PM

Posted 21 April 2010 - 01:50 PM

My bad, I didn't understand, now I do: put the actual email address in the image. Thanks.

#6 Romeo29

Romeo29

    Learning To Bleep


  • BC Advisor
  • 3,194 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:127.0.0.1
  • Local time:09:27 PM

Posted 02 May 2010 - 11:48 AM

That can also be crawled by spam bots. The bot would get the email address from the anchor tag.

This page lists many methods to hide your email from spammers :http://www.csarven.ca/hiding-email-addresses

Server side scripts are best ones. If your webhost supports php, asp, cgi etc. then you can go for them.

#7 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:08:27 PM

Posted 02 May 2010 - 12:23 PM

The bot would get the email address from the anchor tag.

Not if you just use an image and forgo using it as a link.

I do like the idea of using a session variable to validate the email though. Still not perfect, but an interesting idea.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users