With the Recaptcha library in hand, it is fairly trivial to implement their email-hiding routine "MailHide."
A snippet (in my case called "mailhide") that looks like this :
<?php
require_once ("assets/snippets/recaptcha/recaptchalib.php");
// get a key at http://mailhide.recaptcha.net/apikey
$mailhide_pubkey = '--a mailhide public key--';
$mailhide_privkey = '--a mailhide private key--';
$out = "<br><br><br><br>";
$out .= 'The Mailhide version of [email protected] is ';
$out .= recaptcha_mailhide_html ($mailhide_pubkey,
$mailhide_privkey,
"[email protected]");
$out .= '<br> The url for the email is: ' . recaptcha_mailhide_url ($mailhide_pubkey,
$mailhide_privkey,
"[email protected]");
$out .= '<br>';
return $out;
?>
produces a page like this
http://www.considine.net/recaptcha/index.php?id=18
If one clicks on the "..." you’ll see how the address gets revealed.
For what it’s worth ...
MattC