59 lines
1.2 KiB
PHP
59 lines
1.2 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Sicherheit</title>
|
|
</head>
|
|
<body>
|
|
<?php
|
|
if (isset($_POST["kName"])) {
|
|
|
|
echo <<<AUSGABE
|
|
<p>Ihre Eingaben: </p>
|
|
<ul>
|
|
<li>Name: {$_POST["kName"]}</li>
|
|
<li>E-Mail: {$_POST["kMail"]}</li>
|
|
</ul>
|
|
<p>Ihre Nachricht: <br>
|
|
{$_POST["kNachricht"]}</p>
|
|
AUSGABE;
|
|
}
|
|
|
|
?>
|
|
<h1>Kontakt</h1>
|
|
|
|
<form method="post">
|
|
<p>Bitte geben Sie Ihre Kontaktdaten und Ihre Nachricht
|
|
ein.</p>
|
|
<p><label for="kName">Name: </label><br>
|
|
<input type="text"
|
|
id = "kName"
|
|
name = "kName"
|
|
size="25"
|
|
required
|
|
placeholder="Bitte geben Sie Ihren Namen ein."
|
|
autofocus>
|
|
</p>
|
|
<p><label for="kMail">E-Mail: </label><br>
|
|
<input type="email"
|
|
id = "kMail"
|
|
name = "kMail"
|
|
size="25"
|
|
required
|
|
placeholder="Bitte geben Sie Ihre E-Mailadresse ein."
|
|
>
|
|
</p>
|
|
<p><label for="kNachricht">Ihre Nachricht: </label><br>
|
|
<textarea
|
|
id = "kNachricht"
|
|
name = "kNachricht"
|
|
required
|
|
placeholder="Bitte geben Sie hier Ihre Nachricht ein."
|
|
rows="10"
|
|
></textarea>
|
|
</p>
|
|
<p><input type = "submit" value="Senden"></p>
|
|
</form>
|
|
</body>
|
|
</html>
|