PDA

View Full Version : Form Help!



webcougar
June 10th, 2006, 10:00
Can anyone let me know of a simple way to code a form that allows clients to log on to their control panel eg

domain:
username:
password:
[submit]

then on submit it goes to http://theirdomain.com/cpanel and logs in
if not easy to do then just a form that they enter their domain into and it will open the link to theirdomain.com/cpanel

Paul White
June 10th, 2006, 22:55
<form action="https://www.yourmaindomain:2082/login/" method="POST"><center>
<table>
<tr>

<td width="100">Username</td>
<td><input type="text" name="user" size="16"></td>
</tr>
<tr>
<td>Password</td>
<td><input type="password" name="pass" size="16"></td>
</tr>
<tr>

<td colspan="2">
<div align="right"><input type="submit" value="Login"></div>
</td>
</tr>
</table></center>
</form>

webcougar
June 12th, 2006, 00:37
thanks but i wanted it so they could log in from my site to their cpanel that im hosting but it goes to their domain.

I worked it out in the end though.. was simple just needed to think a bit more :P