Members page
Posted: Tue Nov 21, 2006 10:17 pm
Ok, i am creating a member page. the user have to put in their password and user name. what is the best way to do this, I have notices in some manuals where the script is running on the same page as the login page..
any idea how i can do this here is my login page
here is my members page
any idea how i can do this here is my login page
Code: Select all
<form method="Post" action="member_page.php">
<table width="40%" border="0" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
<tr>
<td height="242"><table width="100%" border="00" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
<tr>
<td><img src="../images/logo_top.jpg" width="239" height="82"></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><div align="center">
<p><strong><font size="+1">Administration</font></strong></p>
<p> </p>
</div></td>
</tr>
<tr>
<td><table width="60%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC" bgcolor="#CCCCCC">
<tr>
<td width="25%"><font color="#000000"><strong>UserName</strong></font></td>
<td width="75%"><font color="#000000">
<input type="User_Name" name="User_Name">
</font></td>
</tr>
<tr>
<td><font color="#000000"><strong>Password</strong></font></td>
<td><font color="#000000">
<input type="Password" name="Password">
</font></td>
</tr>
<tr>
<td> </td>
<td><table width="102%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="72%" height="53"> <div align="right">
<input type="submit" name="submit" value="Reset">
</div></td>
<td width="28%"><input type="submit" name="submit2" value="LogMeIn"></td>
</tr>
</table></td>
</tr>
<tr>
<td> </td>
<td><strong><a href="login1.php">Forgot my Password</a></strong></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</form>here is my members page
Code: Select all
<table width="75%" height="351" border="1" cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
<table width="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td width="34%" height="21">Home</td>
</tr>
<tr>
<td height="21">
echo"welcome name of $BusinessName";
</td>
</tr>
</table>
<table width="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td width="21%" height="310"><table width="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td>Advertise your website</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td>Email Marketin</td>
</tr>
<tr>
<td>Add An email </td>
</tr>
<tr>
<td>Messeges</td>
</tr>
</table></td>
<td width="50%" valign="top">
<table width="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td>Update my site</td>
<td>Add Key words</td>
<td>CCBILL</td>
</tr>
</table></td>
<td width="29%" valign="top"> </td>
</tr>
</table></td>
</tr>
</table>