<?php

// Funktionsbibliothek inkludieren
include("myfunctions.php");
set_mysession_mypath();

if (!check_mysession_data())
{
   echo("<b>Fehler:</b> Seite nicht g&uuml;ltig <br>");
   return false;
}
   
echo("<b>Sie sind weiter erfolgreich eingeloggt !</b><br><br>");
?>


<html>
<head>
<title>Benutzer&uuml;berpr&uuml;fung mit Regular Expression, Session-ID, Funktionskapselung</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>

<?
// Die Inhalte der Session-Variablen stehen zur Verf�gung
show_mysession_data();
?>
<p><a href="code5a.php?<? echo(SID) ?>">zur&uuml;ck...</a></p>
<pre>Nachfolgender Button &ouml;ffnet eine sichere ZUR&Uuml;CK-Formularverlinkung</pre>
<form action="code5a.php?<? echo(SID) ?>" method="post">
<input type="submit" name="ok" value="zur&uuml;ck...">
</form>
<pre>Nachfolgender Button beendeet die aktuelle Session</pre>
<form action="code5c.php" method="post">
<input type="submit" name="ok" value="Session-Ende">
</form>

</body>
</html>