Quote: |
<form action="login.php" method="post" target="_top"> <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> <tr> <td align="left" class="nav"><a href="index.php" class="nav">Server Help Forum Index</a></td> </tr> </table> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th height="25" class="thHead" nowrap="nowrap">Please enter your username and password to login</th> </tr> <tr> <td class="row1"><table border="0" cellpadding="3" cellspacing="1" width="100%"> <tr> <td colspan="2" align="center"> </td> </tr> <tr> <td width="45%" align="right"><span class="gen">Username:</span></td> <td> <input type="text" name="username" size="25" maxlength="40" value="" /> </td> </tr> <tr> <td align="right"><span class="gen">Password:</span></td> <td> <input type="password" name="password" size="25" maxlength="25" /> </td> </tr> <tr align="center"> <td colspan="2"><span class="gen">Log me on automatically each visit: <input type="checkbox" name="autologin" /></span></td> </tr> <tr align="center"> <td colspan="2"><input type="hidden" name="redirect" value="" /><input type="submit" name="login" class="mainoption" value="Login" /></td> </tr> <tr align="center"> <td colspan="2"><span class="gensmall"><a href="profile.php?mode=sendpassword" class="gensmall">I forgot my password</a></span></td> </tr> </table></td> </tr> </table> </form> |
Quote: |
<form action="login.php" method="post" target="_top"> <input type="text" name="username" size="25" maxlength="40" value="" /> <input type="password" name="password" size="25" maxlength="25" /> Log me on automatically each visit: <input type="checkbox" name="autologin" /> <input type="hidden" name="redirect" value="" /> <input type="submit" name="login" class="mainoption" value="Login" /> </form> |
Quote: |
<form action="login.php" method="post" target="_top"> Username: <input type="text" name="username" size="25" maxlength="40" value="" /> Password: <input type="password" name="password" size="25" maxlength="25" /> Log me on automatically each visit: <input type="checkbox" name="autologin" /> <input type="hidden" name="redirect" value="***" /> <input type="submit" name="login" class="mainoption" value="Login" /> </form> |
Code: Show/Hide <form action="/forums/login.php" method="post"><FONT face=Verdana><b>
<font size="1" face="Verdana">Forums Login Here</font></b> <FONT face=Verdana size=2><BR><BR></FONT> <font size="1"><b>Username: <br> </b></font> <INPUT class=form maxLength=35 size=19 name=q><BR> <font size="1"><b>Password: <br></b></font> <INPUT class=form type = "password" maxLength=35 size=19 name=q1><BR> <input type="hidden" name="redirect" value=""> </FONT> <FONT face=Verdana><INPUT class=form type=submit value="Login"><BR><INPUT name=s type=hidden value=SS></FONT><font size="1" face="Verdana"><b></b></font></FORM> |
Contempt+ wrote: | |
|
Code: Show/Hide <form action="/forums/login.php" method="post" enctype="multipart/form-data">
<font size="1" face="Verdana"><b>Forums Login Here<br><br> Username:<br><input class="form" type="text" maxlength="35" size="19" name="q"><br> Password:<br><input class="form" type="password" maxLength="35" size="19" name="q1"><br> <input type="hidden" name="redirect" value=""> <input class="form" type="submit" value="Login"><br> <input name="s" type="hidden" value="SS"></b></font> </form> |
Contempt+ wrote: |
So I have to use $_GET['action'] in my /index.htm, or in the /forums/index.php? /forums/index.php, right? |
Contempt+ wrote: |
First off, I haven't been doing things like this for several weeks. I jump around between php, c++, java, html, ect.
When I put in what Don gave me, and I have the redirect in, it just sends me to the /forums/login.php page without logging me in. |
Solo Ace wrote: |
Stupid how nobody (yeah, I didn't see it either, until just now) noticed how the names for the login fields aren't matching those on the real phpBB login pages. |