You are here: Re: Form spam? What to do? « HTML « IT news, forums, messages
Re: Form spam? What to do?

Posted by easygoin on 09/09/05 17:14

chlori wrote:
> Mark Parnell schrieb am 09.09.2005 08:44:
> On one of the sites that wouldn't work, because it's a
> volleyball clubs site, where many people have addresses with
> that domain name and it's quite poosible that they use a
> contact form. Any solutions for this?

my personal favourite is to use a safe form script - there are quite a
few "spam safe form scripts" - checkout http://www.hotscripts.com

or for lots of addresses - how about simple and small script to split
up the email addresses and simply put mailto links - here is one i use:

/***********************************************
* no spam - save as something like nospam.js
***********************************************/
function nospam(addr, dom, sub) {

if (dom==null) {dom="yourdomainhere.com"};

newloc = "mailto:"+addr.replace(/ /gi,'.')+"@"+dom;

if (sub!=null) { newloc += '?Subject='+sub; };

document.location = newloc;

}


then in the html page place this:

<a href="javascript:nospam('firstpartofaddress')">name or department or
whatever</a>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация