Her er prop46s indlæg fra 28/04-2003 12:15:39 med passwordet fjernet:
hmm... jeg kan stadig få adgang til underside ved bare at skrive adressen...?
Har skrevet følgenden
<?php
session_start();
if(($username == "******") && ($password == "******")) {
$_session['loginTjek'] = "$loginTjek";
header("Location:
http://www.rikjor.dk/login/loginGrant.html");
} else {
echo "Username and/or password is incorrect";
}
?>
og...
<html>
<head>
<title>....:::::: r i k j o r ::::::..........</title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<?php
session_start();
if(isset($_SESSION['loginTjek'])) {
?>
<body topmargin="0" leftmargin="0">
<table width="100%" cellpadding="20" cellspacing="0">
<tr>
<td align="left" valign="top"><b>Access granted</b></td>
</tr>
<tr>
<td align="left" valign="top">
<a href="../nyheder/tilfojNyhed.html">Tilføj Nyhed</a>
</td>
</tr>
</table>
<?php
}else{
echo "Access denied"
}
?>
</body>
</html>