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 (1039)
  Hosting Guides (56)
  Promotion (8)
  Programming (19)
  Industry News (1002)
 
Want to receive new articles via e-mail? Click here!
/Home /Control Panels

Creating An On Page CPanel 9 Login 

  Views:    2433
  Votes:    2
by Mark Klink 10/15/04 Rating: 

Synopsis:

Many people have asked how they can put an actual login box for CPanel on their site, without the login popup. This is how.
Pages: 
The Article

There used to be another way of doing this, but Microsoft made some changes to Internet Explorer, and the old way no longer worked.

Many people will have you writing out an entire php script to accomplish this, but that's definately not necessary, as CPanel 9 makes this extremely easy.

Making Your Form

The first step in creating your login form, is deciding if your going to use the standard http login, or the secure (https) form. The reason why this is important, is because as you may know the port number will be different.

Your login form's action

Depending on which you have decided your login action will either be:

Secure:
https://www.domain.com:2083/login/
Standard: http://www.domain.com:2082/login/

Your form HTML will look like the following (remember to use one of the above formats, depending on your decision):

<form action="https://www.domain.com:2083/login/" method="get">
Username:<br>
<input type="text" name="user"><br>
Password:<br>
<input type="password" name="pass"><br>
<input type="submit" value="Login">
</form>
 

That's all there is to it.  Enjoy!
Pages: 



 
  Sponsors

 

 
Powered By