Articles |
 |
|
|
| Want to receive new articles via e-mail? Click here! |
/Home
/Programming
 |
Remote login page for control panels  |
|
|
|
|
Synopsis:
Some people needs to put a login page in their website for users to login to their account. |
|
|
The Article
cPanel:
To create a remote cPanel login page, you need to put some HTML codes in your website. Consider your website url is www.mywebsite.com, your cPanel login url will be http://www.mywebsite.com:2082 for non-SSL or https://www.mywebsite.com:2083 for SSL login. You need to put the following HTML from in your website HTML codes.
<form action='http://www.mywebsite.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>
| In the code, you should replace "www.mywebsite.com" with your website domain name. If you want to use SSL login, you should replace "http" with "https" and "2082" with "2083". Replace "Username:" and "Password:" with your own phrase if you like to translate it or such. Replace "Login" and "Reset" with your own phrase if you like to translate it or such.
Now just put this code in your website every where you need in body section.
For DirectAdmin remote login page, check page 2.
|
|
|
| Similar/related articles:
|
|
|
|
Sponsors |
 |
|
|
|