mirror of
https://gitlab.com/harald.mueller/aktuelle.kurse.git
synced 2024-11-28 12:41:57 +01:00
36 lines
828 B
PHP
36 lines
828 B
PHP
|
<html>
|
|||
|
<head>
|
|||
|
<title>G<EFBFBD>stebuch / Chat</title>
|
|||
|
</head>
|
|||
|
<body>
|
|||
|
<form action="gbook4.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 = fopen("gbook.txt", "r");
|
|||
|
while (!feof($datei))
|
|||
|
{
|
|||
|
echo fgets($datei,1000)."<br>";
|
|||
|
}
|
|||
|
fclose($datei);
|
|||
|
?>
|
|||
|
|
|||
|
</body>
|
|||
|
</html>
|
|||
|
|