Wer seine E-Mail-Adresse ins Impressum stellt, setzt sich den Spam-Bots aus.
E-Mail Spam Bots sind Programme die das Internetseiten nach E-Mails durchsuchen und diese sammeln um das Postfach des Besitzers mit Spam zu überfluten.
Um dies zu umgehen sollte man seine E-Mail-Adresse als Bild in die Seite stellen, so haben Spam Bots keine Chance.
Mit dem Antispam Tool kannst einfach einen Text in ein Bild umwandeln.
E-Mail eingeben und gerendertes Bild als E-Mail ersatz im Impressum einbinden.
if($_REQUEST['email'] != '')
{
$textstring = $_REQUEST['email'];
$fontsize = 9;
$im = ImageCreate (200, 20) or die ('Kann keinen neuen GD-Bild-Stream erzeugen. PHP Optionen überprüfen.');
$background_color = ImageColorAllocate ($im, 255, 255, 255);
$textcolor = ImageColorAllocate ($im, 00, 00, 00);
$fontNormal = $_SERVER['DOCUMENT_ROOT'] . '/img/verdana.ttf';
// PHP interner font.
// imagestring($im, 2, 2,2, $textstring, $textcolor);
imagettftext($im, $fontsize, 0, 1, 15, $textcolor, $fontNormal, $textstring);
imagepng($im,$_SERVER['DOCUMENT_ROOT'] . '/img/demo.png');
// echo fileperms($_SERVER['DOCUMENT_ROOT'] . '/img/demo.png') . '
‚;
}
echo ‚‚;
?>
Ein weiteres brauchbares Tool ist der address-protector mit einer krassen Javascript verschlüsselung.
Lustig 🙂 Echt gut 🙂