Login "Script" For Multiple Servers

fowen

Member
May 20, 2004
20
0
151
Phoenix, AZ
I tried searching but I couldn't find anything on this subject (even though I am sure someone has posted something, I am not sure if I am using the proper verbiage).

I would like to make a central login for cPanel on my website instead of a different location for each server IE: http://www.bluehost.com/cgi-bin/cplogin.

Is this possible? Is their any tutorials on how to do this?

Thanks!
 

bmcpanel

Well-Known Member
Jun 1, 2002
544
0
316
fowen said:
I tried searching but I couldn't find anything on this subject (even though I am sure someone has posted something, I am not sure if I am using the proper verbiage).

I would like to make a central login for cPanel on my website instead of a different location for each server IE: http://www.bluehost.com/cgi-bin/cplogin.

Is this possible? Is their any tutorials on how to do this?

Thanks!
I have never found anything that worked well for me, though there was work being done on such scripts last year and previous, so I am sure you will be able to find something if you keep looking.
 

HH-Steven

Well-Known Member
Aug 29, 2004
282
0
166
cPanel Access Level
Root Administrator
Heres you go, simple but does the job.

You can add the contents of login.php to your webpage or call it using a php include (my preferred method)

Code:
<?php include('login.php'); ?>
 

Attachments

richy

Well-Known Member
Jun 30, 2003
274
1
168
We've got a login script which users enter in their domain name and password to a form, the PHP form then interrogates our billing database (autopilot) for the IP address of the server and the username allocated to that account and then returns a HTTP Redirect to the user with the appropriate IP address and username encoded.
 

erix920

Member
Oct 11, 2005
7
0
151
Nope, nothings wrong with you IE. I don't know what that's there. Anyway, i'm working on ways to make the script much more secure than it is right now. I was going to use a ticker for the options but it didn't work.

Richy:

The problem I thought of when I came across reading your post was that if the persons IP changed what would happen? The way I understand is when a user enter domain and password autopoilet matches them all up and redirects then to thier server with thier website on it.