You've got to ask yourself "Why am I considering this, and what's the potential cost?"

I think that merlyn would assert that the practice of placing text in graphic images for the purpose of thwarting harvesters is a deprecated one, even though he himself was one of the pioneers in the process that makes it possible.

The issue is that such a practice makes the site inaccessable to a portion of its potential user base. First, obviously so to those with text-only browsers, but even more importantly, to those with visual impairments.

I think that a more robust solution for hiding an email address is to bury it in the CGI script or a (possibly encrypted) configuration file. There is no reason that the "Click here to send a message to the site administrator" needs to display the actual email address to which such a message is sent. Output to the browser only what the browser needs. If it's sufficient to have a "send me a message" button, don't bother placing the email address in public view at all. The script that processes the form can know the address through other means. It's not safe to have the script send an email message based on retrieving the address through GET or POST anyway, even if the address is stored in a hidden field, because a potential spammer could use his own pseudo-browser to send his own list of email addresses in place of yours to your script, thus using you as a spam gateway.

Just a few tidbits of food for thought...


Dave


"If I had my life to do over again, I'd be a plumber." -- Albert Einstein

In reply to Re: Email anti-harvester code by davido
in thread Email anti-harvester code by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.