Thanks for that. Seems a lot more developer-friendly. Not tried it yet though, maybe 
tonight when I get home.

- Peter

-----Original Message-----
From: Adam Hope [mailto:[EMAIL PROTECTED]
Sent: 26 January 2004 10:51
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] avoiding harvesters


I created a CF version of Andreas Neudecker's Spam-me-not which is available for free 
(full source) here:

http://www.zapyon.de/spam-me-not/index.html

There are now ASP,PHP,CF,JAVA and Javascript versions of it. We use it on 
Smartgroups.com for the group email addresses.

The only thing he didn't put on the website is its usage:

Usage:

obfuscate('[emailaddress]', [mode], '[type]')

Where -

mode: 1,2 or 3 the same as your encoding function. Number 3 is the best :-)
type: "email" or "fullLink"
                email - just encodes the email address
                fullLink - returns a full encrypted <a href> tag.

So it can be used like this -

<cfset emailToEncode = "[EMAIL PROTECTED]">

<cfoutput><a href ="mailto:#obfuscate(emailToEncode, 3, 'email')#">Me</a></cfoutput>

Or

<cfoutput>#obfuscate(emailToEncode, 3, 'fullLink')#</cfoutput>

Hope you find it useful.

Adam.

-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]



--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to