', "\n", $body); $body = str_replace('
', "\n", $body); $body = strip_tags($body); } $subject = str_replace('\n', '', $subject); $subject = str_replace('\r', '', $subject); if ($html) { $header = 'MIME-Version: 1.0' . "\n"; $header .= 'Content-type: text/html; charset=iso-8859-15'."\n"; $header .= 'From: '.$receiver.' <'.$receiver.'>'."\n"; } else { $header = 'MIME-Version: 1.0' . "\n"; $header .= 'From: '.$receiver.' <'.$receiver.'>'."\n"; } if (mail($receiver, $subject, $body, $header)) { return true; } else { return false; } } function array_stripslashes(&$var) { if(is_string($var)) { $var = stripslashes($var); } else { if(is_array($var)) foreach($var as $key => $value) array_stripslashes($var[$key]); } } if(get_magic_quotes_gpc()){ array_stripslashes($_GET); array_stripslashes($_POST); array_stripslashes($_REQUEST); array_stripslashes($_COOKIE); } if (!empty($_POST)) { // Prüfung für das Feld "Name" $errors['Name'] = null; if (empty($_POST['Name'])) { $error = true; $errors['Name'] = ' class="error"'; } if (!empty($_POST['Name']) && !check_email($_POST['Name'])) { $error = true; $errors['Name'] = ' class="error"'; } } $_text_Name = (!empty($_POST['Name']) ? htmlspecialchars($_POST['Name'], ENT_QUOTES, 'iso-8859-15') : null); ?> sdf
sdf
Bitte nochmals

Formulargenerator by 4Webmaster.net

'; if(send_email('sdf', $body, $receiver)) { ?>

sdf

Vielen Dank für Ihre Nachricht.

sdf

Das Formular konnte leider nicht abgesendet werden. Bitte versuchen Sie es später noch einmal.