"; } if ($_POST['email'] == "") { $error .= "email is niet ingevuld.
"; } if ($_POST['bericht'] == "") { $error .= "bericht is niet ingevuld.
"; } $naam= strip_tags($_POST['naam']); $email = strip_tags($_POST['email']); $bericht = strip_tags($_POST['bericht']); $onderwerp= strip_tags($_POST['onderwerp']); //CAPACHA CONTROLE include("/home/mane/domains/photoshop-tutorials.be/public_html/cap/securimage.php"); $img = new Securimage(); $valid = $img->check($_POST['code']); if($valid != true) { $error .= "De code is incorrect.
"; } if (isset($error)) { //als de variabele $error niet is aangemaakt ... } else { $sent='ja'; $joumail = "tutorials@photoshop-tutorials.be"; $verzendadres="$email"; $onderwerp = "$onderwerp"; $adres = "www.photoshop-tutorials.be" ; $ip= $_SERVER['REMOTE_ADDR']; mail("$joumail", "$onderwerp", " $bericht ", "From: $naam<$verzendadres>\nReturn-path: $joumail"); } } if($sent=='ja') { header('Location: ' . $_SERVER['REQUEST_URI']."?sent=1" ); $sent='ja'; } else { } include ("/home/mane/domains/photoshop-tutorials.be/public_html/includes/new_header.php"); ?>

Photoshop-tutorial.be contacteren





'; //als de variabele $error niet is aangemaakt ... $fout_melding="

".$error."

"; } $form='
'.$a_bericht.' '.$fout_melding.'

naam: (verplicht)

email: (verplicht)

onderwerp

bericht:


Spambeveiliging: Type de code die u hierboven ziet


'; if($bedankt=='ja') { echo'

Je email is verzonden, bedankt voor je reactie.



'; echo"$form"; } else { echo"$form"; } session_write_close(); ?>