Contactform

You forgot to fill in either your Name, E-mailadress, subject or message. Or you "; echo "filled in a wrong e-mailadress.

"; } // form + tabel echo ""; echo ""; // naam echo ""; echo ""; // space echo ""; // bedrijfsnaam echo ""; echo ""; // space echo ""; // mail echo ""; echo ""; // space echo ""; // mail echo ""; echo ""; // space echo ""; // mail echo ""; echo ""; // space echo ""; // button echo ""; echo ""; // sluit form + tabel echo ""; echo "
Name:
 
Company Name:
 
E-mail adress:
 
Subject:
 
Message:
 
 
"; } // versturen naar else { // set datum $datum = date("d.m.Y H:i"); // set ip $ip = $_SERVER['REMOTE_ADDR']; $inhoud_mail = "===================================================\n"; $inhoud_mail .= "Michiel, je hebt mail ontvangen via de site\n"; $inhoud_mail .= "===================================================\n\n"; $inhoud_mail .= $_SERVER['SCRIPT_URI'] . "\n\n"; $inhoud_mail .= "Name: " . $_POST['name'] . "\n"; $inhoud_mail .= "Company Name: " . $_POST['company name'] . "\n"; $inhoud_mail .= "E-mail adress: " . $_POST['mail'] . "\n"; $inhoud_mail .= "Subject: " . $_POST['subject'] . "\n"; $inhoud_mail .= "Message: " . $_POST['msggs'] . "\n\n"; $inhoud_mail .= "Verstuurd op " . $datum . " via het ip " . $ip . "\n\n"; $inhoud_mail .= "===================================================\n\n"; $headers = "From: " . $_POST['name'] . " <" . $_POST['mail'] . ">"; $headers = stripslashes($headers); $headers = str_replace("\n", "", $headers); // Verwijder \n $headers = str_replace("\r", "", $headers); // Verwijder \r $headers = str_replace("\"", "\\\"", str_replace("\\", "\\\\", $headers)); // Slashes van quotes $_POST['subject'] = str_replace("\n", "", $_POST['subject']); // Verwijder \n $_POST['subject'] = str_replace("\r", "", $_POST['subject']); // Verwijder \r $_POST['subject'] = str_replace("\"", "\\\"", str_replace("\\", "\\\\", $_POST['subject'])); // Slashes van quotes mail($mail_ontv, $_POST['subject'], $inhoud_mail, $headers); echo "

Your e-mail is send.

"; echo "

Thanks for sending an e-mail. You wil get an answer as "; echo "soon as possible.

"; echo "

All your information is treated as confidential. "; echo "Your e-mailadress will never be supplied to third parties.

"; } ?>
  • Lagom BV
  • Laan van Cattenbroeck 123
  • 3703 BL Zeist
  • T +31306977880
  • M +31653392535
  • E info@lagom.eu
  • KvK Utrecht nr:30212884
  • BTW nr:815516381
  • Rabobank 1178.64.293
  • IBAN nr:NL63RABO346201136

© 2008 Assiduus