session_name("vb"); session_start(); $to_email="schlatt@t-online.de"; //$to_email="nstey@gmx.de"; $to_title="$email"; $subjekt="Ryozanpaku-Dojo Tauberbischofsheim"; ?>
![]() |
|||||
include ("menu.inc.php");?> |
function fsecure($string){
$ret=preg_replace("#[^[:print:]öäüÖÄÜß]#", "", $string);
return $ret;
}
if (ISSET($_POST[submit])){
$name=$_POST[name];
$vorname=$_POST[vorname];
$grund=$_POST[grund];
$email=$_POST[email];
$mailtext="
Grund: $grund
Vorname: $vorname
Name: $name
Nachricht:
".$_POST[text];
if ($name !="" AND $vorname !="" AND $email !="" AND $_SESSION[capt]==$_POST[capt] AND $_POST[capt]!="")
{
mail("$to_email",$subjekt,$mailtext,"From: $to_title <".fsecure($email).">");
$show=-1;
echo " "; } } if ($show !=-1){ ?> } ?> |
||||
![]() |
|||||
include ("menu2.inc.php");?> |