HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Programming/Scripts (http://www.howtoforge.com/forums/forumdisplay.php?f=7)
-   -   Hiding email addresses (http://www.howtoforge.com/forums/showthread.php?t=83)

myles 13th May 2005 13:47

Hiding email addresses
 
Is it possible to hide email addresses from spam harvesters in HTML pages? The email address should remain clickable and readable for humans...

Myles

joe 14th May 2005 22:50

I heard that using javascript to print the email address sometimes helps. something like

Code:

document.write('email@domain.com')
since most harvesters don't process javascript.

root 17th May 2005 13:15

Look at this page:
http://www.mways.co.uk/prog/hidemail.php

I'm always using it to encode my email addresses.

beatty_t 1st December 2005 16:25

Email Scrambler!
 
I use a little javascript I found at dynamicdrive.com... It's pretty clever as it allows you to pick a word or symbol to use in place of "@" when you enter a "mailto:", but when you click on the "mailto:" link, the javascript replaces your symbol with "@"!... It's rediculously easy to use...

Get it here! http://www.dynamicdrive.com/dynamici...lscrambler.htm

bLuTm8 1st January 2006 18:01

replace all email addresses in ur website with transparent graphics (gif/png)

example: http://www.freefm.de/modules.php?nam...howpage&pid=12

and add this little code as image link
PHP Code:

<a href="mailto.php?to=emailaddress&subject=emailsubject"><img src="image.gif" alt="mailme" title="mailme" border="0"></a

mailto.php:
PHP Code:

<?php
$name
=$_GET['to'];
$subject=$_GET['subject'];
// echo "mailto:".$name."@domain.tld?subject=".$subject;
header("Location: mailto:".$name."@domain.tld?subject=".$subject);
exit;
?>


SamuelBlood 1st December 2008 13:09

Hiding email addresses
 
hi...

I use a little javascript I found at dynamicdrive.com... It's pretty clever as it allows you to pick a word or symbol to use in place of "@" when you enter a "mailto:", but when you click on the "mailto:" link, the javascript replaces your symbol with "@"!... It's rediculously easy to use...
I'm always using it to encode my email addresses.:o


All times are GMT +2. The time now is 19:24.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.