Add to Favorites
Forum
Blog
Home
Register
Search
Rules
New Posts
Help
Hosting Discussion
>
Web Hosting Forums
>
Website Development & Design
>
Login box for cPanel on your website
Remember Me?
forgot password?
Register Today!
Sign up for a free HostingDiscussion account today!
SPONSORED LINKS
Managed VPS
VPN management, backup, automated reboots. Dallas, Seattle, or D.C. NOC's.
www.zipservers.com
Web Hosting Reviews
Compare & Review the top 10 web hosting sites. Starting at $4.95/Month.
www.alreadyhosting.com
Linux VPS Hosting
7-th Anniversary Sale, 50% OFF VPS plans. From $14.95. Keep the same price forever.
www.rosehosting.com
ClientExec 3.0
The easiest to use billing application just got some muscle. Try out our demo today.
www.clientexec.com
Reply
LinkBack
Thread Tools
Post #
1
(
permalink
) 12-21-2003, 10:05 AM
BlackStorm
HD Wizard
Join Date: Jul 2003
Posts: 2,100
Status:
Hey,
The code below might be useful for some hosts that want a login box on their website to allow their users to login to their cpanel account.
Quote:
<script type=text/javascript>
function cp_go( the_form ) {
if ( !the_form.username.value || !the_form.password.value )
{ return; }
location = 'http://'+the_form.username.value+':'+the_form.password.va lue+'@'+the_form.server.value+':2082/';
}
</SCRIPT>
<form action="cplogin">
<td valign="top" height="100%">
<INPUT class="input_field" type="hidden" name="server" value="the name of the server ">
</input><br>
<input type="text" class="input_field" name="username" style="width:130" size="20">
<input type="password" class="input_field" name="password" style="width:130" size="20"><br>
<input type="button" value="Login" onClick="cp_go(this.form)">
</form>
Post #
2
(
permalink
) 12-21-2003, 10:25 AM
GordyMac
HD Wizard
Join Date: Sep 2003
Location: Nova Scotia, Canada
Posts: 1,415
Status:
Aww.. I could never get it to work right.. good work.
__________________
LittleBargains.ca -- SIRIUS Satellite Radio Equipment
Post #
3
(
permalink
) 12-21-2003, 10:41 AM
BlackStorm
HD Wizard
Join Date: Jul 2003
Posts: 2,100
Status:
Did that work for you?
There are a few ways of doing it, I tried a few for my own site, havent put it on my new site yet though but will be adding it soon
Think a lot of people would want to use that for their customers
Post #
4
(
permalink
) 12-21-2003, 12:27 PM
GordyMac
HD Wizard
Join Date: Sep 2003
Location: Nova Scotia, Canada
Posts: 1,415
Status:
Didn't try it.. not a big use to me anymore.. but it seems fine.
__________________
LittleBargains.ca -- SIRIUS Satellite Radio Equipment
Post #
5
(
permalink
) 12-21-2003, 01:00 PM
Francisco
HD Guru
Join Date: Oct 2003
Posts: 579
Status:
It seems good, but'll have to ask my Designer to Include it
Reply
Thread Tools
Show Printable Version
Email this Page
New Post
Old Post
Posting Rules:
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
vB code
is
On
Smilies
are
On
[IMG]
code is
Off
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
Contact Us
|
HostingDiscussion.com
|
Advertising
(with spam verification) |
Archive
© 2000-2008 HostingDiscussion.com. All right reserved.
Web Hosting
by Micfo.com
All times are GMT -6. The time now is
06:22 AM
.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by
vBSEO
3.1.0
LinkBack
LinkBack URL
About LinkBacks