@TCOM Webdesign
               
Uw site...Onze zorg!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Contactformulier


 
    

Informatie aanvraag

Graag alle velden invullen.
Bedankt
!

  Vul uw voor- en achternaam in.

'; elseif (!empty($adres_fout)) echo '

Vul uw adres en huisnummer in.

'; elseif (!empty($postcode_fout)) echo '

Vul uw postcode in.

'; elseif (!empty($woonplaats_fout)) echo '

Vul uw woonplaats in.

'; elseif (!empty($telefoonnummer_fout)) echo '

Vul uw tien cijferig telefoonnummer in.

'; elseif (!empty($email_fout)) echo '

Vul uw e-mail adres in.

'; elseif (!empty($telefonisch_contact_fout)) echo '

Vul hier het tijdstip in wanneer we u kunnen bellen.

'; elseif (!empty($antiflood)) echo '

U mag slechts één bericht per ' . $seconde . ' seconde versturen.

'; else echo '

U bent uw naam, adres, postcode, woonplaats, telefoonnummer, e-mailadres, aantal paginas, doelgroep website, bel me, onderwerp of bericht vergeten in te vullen.

'; } // HTML e-mail formlier echo '

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
     

'; } // versturen naar else { // set datum $datum = date('d/m/Y H:i:s'); $inhoud_mail .= "===================================================\n"; $inhoud_mail .= "Ingevulde contact formulier " . $_SERVER['HTTP_HOST'] . "\n"; $inhoud_mail .= "===================================================\n\n"; $inhoud_mail .= "Naam: " . htmlspecialchars($_POST['naam']) . "\n"; $inhoud_mail .= "Adres: " . htmlspecialchars($_POST['adres']) . "\n"; $inhoud_mail .= "Postcode: " . htmlspecialchars($_POST['postcode']) . "\n"; $inhoud_mail .= "Woonplaats: " . htmlspecialchars($_POST['woonplaats']) . "\n"; $inhoud_mail .= "Telefoonnummer: " . htmlspecialchars($_POST['telefoon']) . "\n"; $inhoud_mail .= "E-mail adres: " . htmlspecialchars($_POST['mail']) . "\n"; $inhoud_mail .= "Bel mij na: " . htmlspecialchars($_POST['bel-me']) . "\n"; $inhoud_mail .= "Bericht:\n"; $inhoud_mail .= htmlspecialchars($_POST['bericht']) . "\n\n"; $inhoud_mail .= "Verstuurd op " . $datum . " via het IP adres " . $_SERVER['REMOTE_ADDR'] . "\n\n"; $inhoud_mail .= "===================================================\n\n"; // -------------------- // spambot protectie // ------ // van de tutorial: http://www.phphulp.nl/php/tutorial/beveiliging/spam-vrije-contact-formulieren/340/ // ------ $headers = 'From: ' . htmlspecialchars($_POST['naam']) . ' <' . $_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['onderwerp'] = str_replace('\n', '', $_POST['onderwerp']); // Verwijder \n $_POST['onderwerp'] = str_replace('\r', '', $_POST['onderwerp']); // Verwijder \r $_POST['onderwerp'] = str_replace("\"", "\\\"", str_replace("\\", "\\\\", $_POST['onderwerp'])); // Slashes van quotes if (mail($mail_ontv, $_POST['onderwerp'], $inhoud_mail, $headers)) { // zorg ervoor dat dezelfde persoon niet kan spammen $_SESSION['antiflood'] = time(); echo '

Het contactformulier is verzonden

Bedankt voor het invullen van het contactformulier. We zullen zo spoedig mogelijk contact met u opnemen.

'; } else { echo '

Het contactformulier is niet verzonden

Onze excuses. Het contactformulier kon niet verzonden worden.

'; } } ?>
 

 


 


 

Postadres:
Uitoord 44
4824 LE Breda

W.
www.atcom-webdesign.nl
E. 
info@atcom-erbdesign.nl
T.  065 - 3843940

@tcom webdesign staat in geschreven bij de Kamer van Koophandel in Breda, nummer:20.10.48.04

 

 

Copyright © 2000 - 2012