Forum Moderators: coopster
Thanks all
In js resolution there is no mailto: and no @, therefore bot usually omit it.
Here you won't have @, but you would still have mailto, so it might pose a problem.
Regards
Michal
So instead of use the standard <a href="mailto:me@mydomain.com">contact</a> I was wondering if I used base64 to encode and decode my address would that protect me from bots? Or do they have the capabilities to read it? I don't know exactly what bots have the ability to do.
(ex)
$str = 'PGEgaHJlZj1tYWlsdG86c29tZWJvZHlAZG9tYWluLmNvbT5jb250YWN0PC9hPg==';
echo base64_decode($str);
Thanks again
header("Location: mailto:email@example.com");
So, maybe use that and place a link on your page?
<a href="index.php?cmd=email">E-Mail Me</a>if (isset($_GET['cmd']) && $_GET['cmd']=='email')
{
header("Location: mailto:email@example.com");
exit;
}
Simple enough, although you might find Firefox opens a blank white page when you use it.
dc