PDA

View Full Version : Adding Cpanel Login



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%">&nbsp;</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>&nbsp;</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

randomheaven
September 30th, 2005, 06:06
<form action="http://www.random-heaven.com:2082/login" method="post">
<td width="50%">
<div><nobr>
<input type="Text" name="user" value=" USERNAME" size="10">
<input type="password" name="pass" value=" PASSWORD" size="10"><input type="Image" src="images/b_go.gif" width="24" height="29" alt="" border="0" hspace="5" align="absmiddle">
</nobr></div>
</td>
</form>

there you can see it workin on my page

http://hosting.random-heaven.com

just change the domain

trev
September 30th, 2005, 07:48
Thanks is there any way of making it a secure page like https (how do i make a https page)?

Thanks trev

- Dan
September 30th, 2005, 08:27
Wow.. I think this is very useful somehow :)

Thanks

Dub
September 30th, 2005, 12:45
Thanks is there any way of making it a secure page like https (how do i make a https page)?

Thanks trev

You need to get a SSL Cert.

For a free one you can get one at
http://cert.startcom.org/index.php?app=117&lang=fr

It works just as good.. But it doesn't have the warrenty. If you want a warrenty consider GoDaddy.com

Thanks,
eRudNet