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:
29:
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Kaufformular</title>
<!--
<link rel="stylesheet" type="text/css">
-->
</head>
<body>
<?php
$name = ($_POST['name']);
$email = ($_POST['email']);
$pferd = ($_POST['pferd']);
$sonstiges = ($_POST['sonstiges']);
if ( ($name == "") OR ($email == "") OR ($betreff == "") OR ($nachricht == "") )
{
echo "Du hast nicht alle Angaben gemacht! Gehe zurück und korrigiere dies!";
}
else
{
mail("vrh.dreamhorse@web.de",$betreff,$nachricht,"From: $name <$email>");
echo "Deine E-Mail wurde erfolgreich verschickt.";
}
?>
</body>
</html> |