Surname too short!"; } if(strlen($name)<4) { $namError="Name too short!"; } if(!filter_var($mail, FILTER_VALIDATE_EMAIL)) { $mailError="E-Mail adress not valid!"; } if(strlen($street)<4) { $streetError="Street too short!"; } if(strlen($city)<4) { $cityError="City too short!"; } if(strlen($cntry)<4) { $cntryError="Country too short!"; } if(!($date[0] || $date[1])) { $dateError="You must select at least one date."; } if(($surnamError . $namError . $mailError . $streetError . $cityError . $cntryError . $dateError)=="")//Wenn keine Fehlermeldung { $sent="Your e-mail has been sent."; //Nachricht bei erfolgreichem Versand $error="Unfortunately, your e-mail has not been sent. Please fill out the form again."; //Nachricht bei Sendefehler //Nachricht $text= "Name: " . htmlentities($name)."
". "Nachname: " . htmlentities($surname)."
". "E-Mail: " . htmlentities($mail)."
". "Straße: " . htmlentities($street)."
". "Stadt: " . htmlentities($city)."
". "Land: " . htmlentities($cntry)."
". "Anwesend an Tag 1: " . ($date[0]?"Ja":"Nein")."
". "Anwesend an Tag 2: " . ($date[1]?"Ja":"Nein")."
". "Kommentar: " . htmlentities($comment); //echo $text; //DEBUG $to="oai@bluewin.ch"; //Empfänger $subject="Anmeldung per Webformular"; //Betreff $from="Teilnehmer"; //Absender $success=(mail($to, $subject, $text, "From: ".htmlentities($from)."\nMime-Version: 1.0\nContent-Type: text/html; charset=ISO-8859-1\nContent-Transfer-Encoding: quoted-printable")) ? $sent: $error; } else { $success="Something is wrong with your data."; //Allgemeine Fehlermeldung bei falscher Eingabe //echo ($surnamError . $namError . $mailError . $streetError . $cityError . $cntryError . $dateError=""); //DEBUG } } ?> Europa trifft China trifft Europa
Europa trifft China trifft Europa

Binding Registration for the Symposium

Attendance to this event is free of charge.

Surname:
Name:
E-Mail:
Street:
ZIP and City:
Country:
Attendance: May 10th
May 11th
Comments: