iNET Interactive - Online Advertising Agency
          
   Home    Authors    About    Login    Contact Us
   Search:   
Advanced Search     
  Articles

  Control Panels (6)
  E-Mail (9)
  Billing (3)
  Security (16)
  Domains & DNS (12)
  Webservers (25)
  Hardware (7)
  Products (6)
  Services (16)
  Policies (5)
  Sales & Marketing (15)
  Companies (33)
  General (1043)
  Hosting Guides (56)
  Promotion (8)
  Programming (19)
  Industry News (1006)
 
Want to receive new articles via e-mail? Click here!
/Home /Programming

Remote login page for control panels 

  Views:    2595
  Votes:    1
by Hamed Afshar 12/01/06 Rating: 

Synopsis:

Some people needs to put a login page in their website for users to login to their account.
Pages: firstback2 forwardlast
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.
Pages: firstback2 forwardlast

Similar/related articles:


 
  Sponsors

 

 
Powered By