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
<?php
if ($_COOKIE["frameset_content"])
 $content=$_COOKIE["frameset_content"];
else $content="Text.php";
?>
<html>
<head>
<title>Neue Seite 1</title>
</head>
<frameset cols="10%,*">
  <frame name="Inhalt" target="Hauptframe" src="Schule.htm">
  <frame name="Hauptframe" src="<?php echo $content; ?>">
  <noframes>
  <body>
  <p>Diese Seite verwendet Frames. Frames werden von Ihrem Browser aber nicht 
  unterstützt.</p>
  </body>
  </noframes>
</frameset>
</html>
  Außerdem müssen sämtliche Dateien die endung php statt htm(l) haben.