|
JC&MB Quicknote Newsletterif (isset($_POST['Email']) || isset($_POST['einaus'])) { if ($_POST['Email'] == '' || !preg_match('#^[-!\#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+@[-!\#$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.[-!\#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$#', $_POST['Email'])) { echo 'Invalid Email address!'; $zeigeFormular = true; } elseif (trim($_POST['erg']) != '10' || strpos($_POST['browser'], 'navigator.appName') !== false) { echo 'Your calculation was not right or you were recognized as a spammer!'; $zeigeFormular = true; } else { $zeigeFormular = false; $message = 'Bestellung des Quicknote Newsletters am '.date('Y-m-d H:i:s')."\n". $_POST['einaus']."\n". "E-Mail Addresse:\n". $_POST['Email']."\n--------------------------------------------------------\nZusätzliches:\nGehört von Quicknote durch:\n". $_POST['Wiegehoert']."\nText:\n". $_POST['text']."\n\n".$_POST['browser']."\nip: ".getenv('REMOTE_ADDR')." auf ".getenv('HTTP_REFERER').", ".getenv("HTTP_USER_AGENT")."\n"; if (@mail('jens-mueller@metz-furniere.de','E-Mail von Jens-Home/Quicknote abonnement English', $message, 'From: info@quicknote.de')) { echo ' Thank you. The requested action has been taken and the list will be updated. Vielen Dank. Wie gewünscht wird die Liste für den Newsletter auf den aktuellen Stand gebracht. '; } else { echo 'Error sending the message!'; } } } else { $zeigeFormular = true; } if ($zeigeFormular) { ?> Here you can subscribe to the Quicknote Newsletter. You will get an email as soon as there is a new version of Quicknote available. I won't give your email address to other people. } ?> Back |