I know md5 is pretty secure, i use it for my passwords. my only concern with using it here is i dont want it to be bookmarkable as this is an admin page...
<html>
<style fprolloverstyle>A:hover {color: #008080; font-weight: bold}
BODY {
SCROLLBAR-BASE-COLOR: #000000;
SCROLLBAR-ARROW-COLOR: #123456;
}
</style>
</head>
<body bgcolor="#000000" link="#FFFF00" vlink="#FFFF00" alink="#008080">
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<!-----Menu---------->
<table border="0" cellspacing="0" cellpadding="0" width="150">
<tr>
<td bgcolor="#000000" >
<table width="150" border="0" cellspacing="1" cellpadding="0">
<tr>
<td valign="top" bgcolor="#123456"> <IMG SRC="/mypage/images/topleft02.gif" WIDTH="15" HEIGHT="15" ALIGN="absmiddle"></IMG> <font color="yellow"><b>Administrator Center</b></font></td>
</tr>
<tr>
<td bgcolor="#47515f"><font face="verdana,arial,helvetica" size="1" class="sf">
<strong><big>路</big></strong> <a href="/mypage/mypage.php">Home</a><br>
<strong><big>路</big></strong> <a href="/mypage/submit.php">Submit News</a><br>
<strong><big>路</big></strong> <a href="/mypage/forumdisplay.php">Forum</a><br>
<strong><big>路</big></strong> <a href="/mypage/admin.php">Admin</a><br>
</font>
</td>
</tr>
</td>
</table>
</tr>
</table>
<!-----/Menu---------->
<br>
<!-----Members---------->
<table border="0" cellspacing="0" cellpadding="0" width="150">
<tr>
<td bgcolor="#000000" >
<table width="150" border="0" cellspacing="1" cellpadding="0">
<tr>
<td valign="top" bgcolor="#123456"><IMG SRC="/mypage/images/topleft02.gif" WIDTH="15" HEIGHT="15" ALIGN="absmiddle"></IMG> <font color="#FFFF00"><b>Members</b></font></td>
</tr>
<tr>
<td bgcolor="#47515f"><font face="verdana,arial,helvetica" size="1" class="sf">
<strong><big>路</big></strong> <a href="">Search for member</a><br>
<strong><big>路</big></strong> <form method="post" action="adminpage.php" name="mainform1" target="body"> <input type="hidden" name="option" value="listallmembers"><br> <a href="#" onclick="document.mainform1.submit();">List of all members</a></form><br>
<strong><big>路</big></strong> <form method="post" action="adminpage.php" name="mainform2" target="body"> <input type="hidden" name="option" value="changeprivilages"><br> <a href="#" onclick="document.mainform2.submit();">Change member privilages</a></form><br>
</font>
</td>
</tr>
</td>
</table>
</tr>
</table>
<!------/Members---------->
<br>
<!-----Content---------->
<table border="0" cellspacing="0" cellpadding="0" width="150">
<tr>
<td bgcolor="#000000" >
<table width="150" border="0" cellspacing="1" cellpadding="0">
<tr>
<td valign="top" bgcolor="#123456"><IMG SRC="/mypage/images/topleft02.gif" WIDTH="15" HEIGHT="15" ALIGN="absmiddle"></IMG> <font color="#FFFF00"><b>Content</b></font></td>
</tr>
<tr>
<td bgcolor="#47515f"><font face="verdana,arial,helvetica" size="1" class="sf">
<strong><big>路</big></strong> <a href="">Edit main page news</a><br>
<strong><big>路</big></strong> <a href="">Edit menu</a><br>
<strong><big>路</big></strong> <a href="">Blah</a><br>
</font>
</td>
</tr>
</td>
</table>
</tr>
</table>
<!------/Content---------->
Anyway here is the source for the page the <form> tag is messing up spaces on... As for sessions, i'll have to look into that. Thanks.
Thanks alot
-emrys