mirror of
https://gitlab.com/harald.mueller/aktuelle.kurse.git
synced 2024-11-24 10:41:56 +01:00
36 lines
884 B
PHP
36 lines
884 B
PHP
|
<html>
|
|||
|
<head>
|
|||
|
<title>G<EFBFBD>stebuch / Chat</title>
|
|||
|
</head>
|
|||
|
<body>
|
|||
|
<form action="gbook6a.php" method="post">
|
|||
|
<p>Geben Sie hier Ihre e-mail Adresse ein:</p>
|
|||
|
<input type="text" size="20" name="Email">
|
|||
|
<br>
|
|||
|
<br>
|
|||
|
<p>Geben Sie hier Ihren Namen ein:</p>
|
|||
|
<input type="text" size="20" name="Name">
|
|||
|
<br>
|
|||
|
<br>
|
|||
|
<p>Geben Sie hier Ihren Kommentar ein:</p>
|
|||
|
<textarea cols="40" rows="10" name="Kommentar"></textarea>
|
|||
|
<br>
|
|||
|
<br>
|
|||
|
<input type="submit" value="Absenden">
|
|||
|
<input type="reset" value="Eingabe l<>schen" name="reset">
|
|||
|
</form>
|
|||
|
|
|||
|
<?php
|
|||
|
# Liest Datei gbook.txt aus
|
|||
|
$datei = "gbook.txt";
|
|||
|
$gbook = file($datei);
|
|||
|
krsort ($gbook);
|
|||
|
$gbook = str_replace ("|", "<br>", $gbook);
|
|||
|
foreach ($gbook as $mein_gbook)
|
|||
|
echo $mein_gbook,"<br>";
|
|||
|
?>
|
|||
|
|
|||
|
</body>
|
|||
|
</html>
|
|||
|
|