purechaos
23rd June 2009, 23:29
I'm trying to add a custom login for ISP on my website. I used the following code which I got from ISP's login.php file:
<form method="POST" action="login/login.php" name="loginForm">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle"><table width="400" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<td><img src="design/default/images/login_logo.png" width="398" height="78"></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr align="center">
<td height="66" colspan="2" class="normal">
Here you can log in: </td>
</tr>
<tr>
<td width="35%" align="left" class="normal"> Username:</td>
<td width="65%"><input type="text" name="username" class="text"></td>
</tr>
<tr>
<td align="left" class="normal"> Password:</td>
<td><input type="password" name="passwort" class="text"></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="B1" value=" Login " class="button"></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table></td>
</tr>
</table>
<p> </p></td>
</tr>
</table>
</form>
the only thing I changed was:
<form method="POST" action="login/login.php" name="loginForm">
to
<form method="POST" action="http://cp.g3-services.com:81/login/login.php" name="loginForm">
The problem is after I click "submit" it takes me to the ISP login page, but it dosent log me in. Any suggestions?
Thanks
PureChaos
<form method="POST" action="login/login.php" name="loginForm">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle"><table width="400" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<td><img src="design/default/images/login_logo.png" width="398" height="78"></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr align="center">
<td height="66" colspan="2" class="normal">
Here you can log in: </td>
</tr>
<tr>
<td width="35%" align="left" class="normal"> Username:</td>
<td width="65%"><input type="text" name="username" class="text"></td>
</tr>
<tr>
<td align="left" class="normal"> Password:</td>
<td><input type="password" name="passwort" class="text"></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="B1" value=" Login " class="button"></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table></td>
</tr>
</table>
<p> </p></td>
</tr>
</table>
</form>
the only thing I changed was:
<form method="POST" action="login/login.php" name="loginForm">
to
<form method="POST" action="http://cp.g3-services.com:81/login/login.php" name="loginForm">
The problem is after I click "submit" it takes me to the ISP login page, but it dosent log me in. Any suggestions?
Thanks
PureChaos