outfile = "incdat/form_txt.ini"; $form_arr = $formText->getText($lang); if(empty($them_arr)){ $form_arr = $formText->getText('de'); } $betreff=$form_arr['kon'].$_SERVER['SERVER_NAME']; $errmail=""; $errname=""; $errbild=" X"; //------------------------------------------------PRUEFEN ALLG. VARS if(!$_POST['anfrage'] && !$_GET['formular']){ echo "
".$form_arr['denie']; die(); } if($_POST['anfrage'] && !$_GET['senden']){ echo "
".$form_arr['denie']; die(); } //------------------------------------------------PRUEFEN MAILVARS if(!$_POST['firma'] || $_POST['firma']=="") { $fehler.="
".$form_arr['noname']; $errname=$errbild; }else{ $firma=strip_tags(trim($_POST['firma'])); } if(!$_POST['email'] || $_POST['email']=="") { $fehler.="
".$form_arr['nomail']; $errmail=$errbild; }else{ $email=strip_tags(trim($_POST['email'])); if(!eregi("^[_.0-9a-z-]+@([0-9a-z-]+.)+[a-z]{2,4}$",$email) || strlen($email)>=40){ $fehler.="
".$form_arr['xmail']; $errmail=$errbild; } } if($_POST['strasse'] || $_POST['strasse']!="") { $strasse=strip_tags(trim($_POST['strasse'])); if(strlen($_POST['strasse'])>=40){ $fehler.="
".$form_arr['xstreet']; } } if($_POST['adresse'] || $_POST['adresse']!="") { $adresse=strip_tags(trim($_POST['adresse'])); if(strlen($_POST['adresse'])>=40){ $fehler.="
".$form_arr['xadr']; } } if($_POST['tel'] || $_POST['tel']!="") { $tel=strip_tags(trim($_POST['tel'])); if(!eregi("^[0-9/. +\-]",$tel) && $tel!=''){ $fehler.="
".$form_arr['xtel']; } } if($_POST['nachricht'] || $_POST['nachricht']!="") { $nachricht=strip_tags(trim($_POST['nachricht'])); $nachricht=nl2br($nachricht); if(substr_count($nachricht, "Content-Type:")){ $fehler.="
".$form_arr['spam']; } } //-----------------------------------------------PRFEN ENDE //-------------------------------------------BUEHNE echo ""; echo "









top
 

 

Get our Newsletter:
Position: Index

Reservation Destination is your partner to plan your travel to Namibia. We offer our online visitors qualified services and booking tools