|
How to Protect Email Addresses in Textarea Fields From Harvesters and Spammers
by Ralph Tegtmeier
Obfuscating web site email addresses by using Unicode is a nice and - at least currently - pretty efficient trick. Unfortunately, it won't work very well if you're presenting some preformatted text in a textarea field: your human visitors would not be able to recognize the address for what it is. However, here's a neat work around.
Provided your web server set up allows for Server Side Includes (SSI), encapsulate your textarea file like this:
<!-# if expr=""$HTTP_USER_AGENT" != /ExtractorPro| EmailSiphon|WEBMOLE|Crescent Internet ToolPak| NEWT ActiveX; Win32|CherryPicker|Microsoft URL Control| EmailCollector|EmailWolf|NICErsPRO|Telesoft|WebBandit| WebEMailExtractor| /" ->
<!-#include file="yourfile.txt"->
<!-# endif ->
You can either include an external file (as in our example above), or simply put your body text between the initial and the "endif" tag, in which case you can omit the "include file" reference.
This will prevent the harvest bots listed above by UserAgent from scanning your file and any email content it may feature.
Should you detect further UserAgents related to email harvesters, simply add them to the list above, delimiting them with the pipe symbol (|).
Ralph Tegtmeier is the co-founder and principal of fantomaster.com Ltd. (UK) and fantomaster.com GmbH (Belgium), a company specializing in webmasters software development, industrial-strength cloaking and search engine positioning services. He has been a web marketer since 1994 and is editor-in-chief of fantomNews, a free newsletter focusing on search engine optimization, available at: < http://fantomaster.com/fantomnews-sub.html > You can contact him at mailto:fneditor@fantomaster.com (c) copyright 2000 by fantomaster.com
|
Link to this article, just copy and paste following code:
<a href=http://www.xynga.com/article1244.html>How to Protect Email Addresses in Textarea Fields From Harvesters and Spammers</a>
|
Article viewed 797 time(s). Read more: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | |