trev
September 30th, 2005, 04:14
Can some one help me with a form script that will alow a user to login to cpanel from my home page. I've got the following.
<form action="--WEBBOT-SELF--" method="post" name="login">
<tr>
<td width="27%" height="79" align="center" valign="top"><img src="images/lock.gif" width="28" height="28" vspace="10"></td>
<td width="73%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="56%"><input name="username" type="text" class="tablestyle" value="username" maxlength="26"></td>
<td width="44%"> </td>
</tr>
<tr>
<td><img src="images/trans.gif" width="1" height="8"></td>
<td><img src="images/trans.gif" width="1" height="8"></td>
</tr>
<tr>
<td><input name="password" type="password" class="tablestyle" value="">
</td>
<td> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><img src="images/submit.jpg" width="18" height="14" align="absmiddle"><input name="Submit" type="submit" class="buttonstyle" value=" Cpanel Login">
</tr>
</table></td>
</tr>
</table>
</form>
Thanks
-Trev
<form action="--WEBBOT-SELF--" method="post" name="login">
<tr>
<td width="27%" height="79" align="center" valign="top"><img src="images/lock.gif" width="28" height="28" vspace="10"></td>
<td width="73%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="56%"><input name="username" type="text" class="tablestyle" value="username" maxlength="26"></td>
<td width="44%"> </td>
</tr>
<tr>
<td><img src="images/trans.gif" width="1" height="8"></td>
<td><img src="images/trans.gif" width="1" height="8"></td>
</tr>
<tr>
<td><input name="password" type="password" class="tablestyle" value="">
</td>
<td> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><img src="images/submit.jpg" width="18" height="14" align="absmiddle"><input name="Submit" type="submit" class="buttonstyle" value=" Cpanel Login">
</tr>
</table></td>
</tr>
</table>
</form>
Thanks
-Trev