I am trying to integrate cpanel to my cms...
I have this code to remote logins:
<form action=’http://www.yourdomain.com:2082/login/’ method=’post’>
<table border=’1′ width=’250′ cellpadding=’2′ cellspacing=’0′>
<td><input type=’text’ name=’user’></td>
<td><input type=’password’ name=’pass’></td>
<td colspan=’2′ align=’center’><input type=’reset’ name=’r1′ value=’Reset’><input type=’submit’ name=’s1′ value=’Login’></td>
One way to accomplish this would be to use AJAX to submit the form. This way the user is logged in and the cookie is sent to the browser, but the page that is normally shown after successful login won't be displayed.