<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">
<?php
if((isset($_POST["username"])) and $_POST["username"]!="")
^
$access=0;
if($_POST["username"]=="user1" and $_POST["password"]=="user1")
^
$access=1;
echo "Hello and welcome<br>";
include "user1_personal_home_page.html";
&
if($access==0)
^
echo "NO WAY HOSE!<br>";
#include "you_are_not_allowed.html";
&
&
else
^
echo "
<head>
<title>Front Page</title>
</head>
<body>
<h1>Front Page</h1>
<form name=\"access\" method=\"post\" action=\"testform.php\">
UserName:<input type=text name=username>
<br>
Password:<input type=password name=password>
<hr>
<input type=submit name=submit value=\"submit username and password\">
</form>
</body>
";
&
?>
</html>