OJM
June 26, 2007, 8:06pm
1
I’m sure I read how to do this somewhere, but I can’t find it…
What I’d like to do is have a small form on my reseller site, allowing people to login to their CP from there, however I can’t get it to post the details correctly.
Basically, to start with, I have;
[CODE]
[/CODE]
If anyone could point me in the right direction, that would be great.
I’d also like the same kind of form to login to the Helpdesk, so if you have any ideas on that too please…
Thanks in advance!
Cliff
June 27, 2007, 4:34pm
2
Try this code: (replace YOURDOMAIN in the post action with your service domain)
<table border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor="#CCCCCC">
<tr>
<td>
<form method="POST" name="cplogin" action="http://cp.YOURDOMAIN.com/psoft/servlet/psoft.hsphere.CP">
<table width="350" border="0" align="center" cellpadding="2" cellspacing="0">
<tr bgcolor="#333333">
<td colspan="2"> <div align="center"><font color="#FFFFFF" face="Arial"><b>Hosting
Control Panel Access</b></font></div></td>
</tr>
<tr>
<td width="138"> </td>
<td width="204"> </td>
</tr>
<tr>
<td><div align="right"><font color="#333333"><b><font size="2" face="Arial">Username:</font></b></font></div></td>
<td><input name="login" type="text" id="login" size="30"></td>
</tr>
<tr>
<td><div align="right"><font color="#333333"><b><font size="2" face="Arial">Password:</font></b></font></div></td>
<td><input name="password" type="password" id="password" size="30"></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="Log In"></td>
</tr>
</table>
<input type="hidden" name="ftemplate" value="design/login.html">
<input type="hidden" name="action" value="login">
</form>
</td>
</tr>
</table>
OJM
June 27, 2007, 7:25pm
3
Brilliant! Cheers!
Any ideas on the Helpdesk login?
Thanks again!