1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>action_formular</title>
</head>
<body>
<?php $name = $_POST['name'];
$e-mail = $_POST['e-mail'];
$pferd = $_POST['pferd'];
if ( ($name == "") OR ($e-mail == "") OR ($pferd == "") )
{
echo "Du hast nicht alle Felder ausgefüllt! Gehe <a href='java script:back()'>zurück</a> und korrigiere dies!";
}
else
{
$text = "Name: $name
E-Mail: $e-mail
Pferd: $pferd";
}
mail("Gestuet-dEqui@web.de",$betreff,$text,"From $name <$e-mail>");
echo "Deine e-Mail wurde erfolgreich abgeschickt.";
}
?>
<br>
</body>
</html> |