Posted by Morlaath on 08/20/07 00:47
This is the important code from the index page which is causing the
error:
<?php
if($_SESSION['logged']) { ?>
<td class="welcome" ><b>You are logged in as <?php echo
$_SESSION['username']; ?>.
<a href="" onclick="//used to have session_destroy() here">Logout</
a></b></td>
<?php } else { ?>
<td class="welcome"><b>You are not logged in. <a
href="forms/login.php">Login here</a></b></td>
<?php } ?>
Navigation:
[Reply to this message]
|