--index.php--
<html>
<head>
<title>berichtenbalk</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body><marquee>
<?
include("scroller.txt");
?>
</marquee>
<a href="scroller.php" >[voeg bericht toe]</a>
</body>
</html>
--scroller.php--
<form name="form1" method="post" action="post.php">
Bericht:<br>
<input type="text" name="bericht" value="" maxlength="60" size="13">
<br><input type="submit" name="Submit" value="Toevoegen">
</form>
--post.php--
<?
$schijding ="- - -";
$data = "scroller.txt";
$file = fopen($data, "a+");
fputs($file, "<?php echo' $schijding $bericht $schijding'?>");
fclose($file);
echo "Het bericht is toegevoegd!
<META HTTP-EQUIV=\"REFRESH\" CONTENT=\"1; URL=berichten.php\">";
?>
--berichten.php--
<marquee>
<?
include("scroller.txt");
?>
</marquee>
<a href="index.php">[ga terug]</a>
--scroller.txt--
(laat dit bestand leeg)