I tried posting this on vb.org but got no response. I recently bought an existing site/forum and it had a login for the forums on the main homepage. It worked fine but now it doesn't work. Can someone take a look at this code and let me know why it doesn't work? When you try to log in from the home page it just loads the main forum page but doesn't log you in. Weird.
<!-- Member Login Table -->
<form action="http://www.tlplanet.com/forums/login.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="action" value="login">
<table width="130" border=0 cellpadding=2 cellspacing=0 >
<tr>
<td valign=top>
<table width=100% border=1 bordercolor="#2E3192" align=center cellpadding=6 cellspacing=0 class=BordeCeldasMenu>
<tr>
<td class=MenuSection align=center><b>MEMBER LOGIN</b></td>
</tr>
<tr>
<td><table align="center" width="85%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="5"><img src="images/ssp-shim.gif" width="1" height="5" border="0"></td>
</tr>
<tr>
<td align="center"><span class="SteveText">username</span><br>
<input type="text" class="bginput" name="username" size="9"></td>
</tr>
<tr>
<td align="center"><span class="SteveText">password</span><br>
<input type="password" class="bginput" name="password" size="9"></td>
</tr>
<tr>
<td align="center"><img src="images/shim.gif" height="5" alt="" border="0"><br><br><input type="submit" class="bginput" value="Login!"><p><span>Not registered?</span><br><a href="http://www.tlplanet.com/forums/register.php" class="menu" target="_top">Register now!</a></span></p></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<!-- */Member Login Table -->
<form action="http://www.tlplanet.com/forums/login.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="action" value="login">
<table width="130" border=0 cellpadding=2 cellspacing=0 >
<tr>
<td valign=top>
<table width=100% border=1 bordercolor="#2E3192" align=center cellpadding=6 cellspacing=0 class=BordeCeldasMenu>
<tr>
<td class=MenuSection align=center><b>MEMBER LOGIN</b></td>
</tr>
<tr>
<td><table align="center" width="85%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="5"><img src="images/ssp-shim.gif" width="1" height="5" border="0"></td>
</tr>
<tr>
<td align="center"><span class="SteveText">username</span><br>
<input type="text" class="bginput" name="username" size="9"></td>
</tr>
<tr>
<td align="center"><span class="SteveText">password</span><br>
<input type="password" class="bginput" name="password" size="9"></td>
</tr>
<tr>
<td align="center"><img src="images/shim.gif" height="5" alt="" border="0"><br><br><input type="submit" class="bginput" value="Login!"><p><span>Not registered?</span><br><a href="http://www.tlplanet.com/forums/register.php" class="menu" target="_top">Register now!</a></span></p></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<!-- */Member Login Table -->
Comment