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′>
<tr>
<td align=’right’>Username:</td>
<td><input type=’text’ name=’user’></td>
</tr>
<tr>
<td align=’right’>Password:</td>
<td><input type=’password’ name=’pass’></td>
</tr>
<tr>
<td colspan=’2′ align=’center’><input type=’reset’ name=’r1′ value=’Reset’><input type=’submit’ name=’s1′ value=’Login’></td>
</tr>
</table>
</form>
This form loads cpanel after successful login. I don't want this form to loads cpanel after successful login. I want to load another page of my cms after successful login. So, I would like to check if login is successful or not. I tried to do it with jquery however jquery did not work on cross domain. Does anyone got any suggestion for this situation?