WhereToLook
02-24-2004, 06:23 AM
Not sure if this is the right forum but...
I have been using javascript for cpanel login from my main page. But since Microsoft's latest update, it does not work because they planned it that way. It seems some criminal minded people have once again spolied the cart with a few bad apples...
Microsoft has a couple of "workarounds" but they do not help me...
I just want my clients to be able to enter their Username and Password and get to their own cPanel. Does anyone have, or know of someone that has, a script that can be placed in an HTML page to allow simple login to cPanel?
Thanks!
JohnA :banana:
If you do a search (http://webhostingtalk.com/search.php) for "cpanel login script" or something similar you'll many of them have been posted before.
WhereToLook
02-24-2004, 07:15 AM
The result of my SEARCH (http://www.webhostingtalk.com/search.php?) was that nobody has come up with an answer yet...
So I thought I would post the question again and see if there have been any further developments since the other posts have been bumped out.
:dunce:
The old script doesnt work as you have already said, i too am looking for one.
Sorry, a little hasty to post perhaps.
The old scripts, many different versions of which have been posted before did still work just fine for mozilla and such, and for IE you can make a simple registry edit to re-enable the use of @ in urls, however ..... cPanel i believe just disabled the use of those urls itself anyway.
You can still use a login script and send an authorization header to cPanel, somebody must have written + posted this by now surely, it wouldn't be that hard.
If you can't find it, i'd suggest waiting a little bit as 8.9 will include support for cookie logins, infact i think the latest edge build already does.
c3w.biz
04-07-2004, 11:35 PM
Has anyone found anything on this topic as of yet?
AlexF
04-08-2004, 12:30 AM
Try this thread (http://forums.cpanel.net/showthread.php?s=&threadid=21204&perpage=15&highlight=login%20script&pagenumber=1)
Quickcess
04-08-2004, 04:15 AM
So, if you noticed while logging on to cPanel and clicking "cancel" it takes you to login form.
Look at the source and make up form like that wherever you want.
It should send results (using POST) to http://www.yourdomain.com:2082/login/ or to https://www.yourdomain.com:2083/login/
The username textbox chould have name "user" and password box name "pass".
Good luck :cool:
BTW, I have a bit similar problem - only that I don't have form - just need to send auth info through HTTP headers. Should be solution to that as well.
WCHost
04-08-2004, 06:15 AM
Just make it easy...the one that in WHT about cpanel login script are old, and it wont work anymore. It will goes back to the login dialog.
Here you go, just change the domain.com into your server domain~
<form method="post" action="http://www.domain.com:2082/login/">
<table border="0" cellpadding="3" cellspacing="0">
<tr>
<td><span style="font-size: 11px">Username</span></td>
<td> </td>
<td><input class="textarea" name="user" size="30" /></td>
</tr>
<tr>
<td><span style="font-size: 11px">Password</span></td>
<td> </td>
<td><input class="textarea" type="password" name="pass" size="30" /></td>
</tr>
<tr valign="top">
<td> </td>
<td> </td>
<td><input class="button" type="submit" name="submit" value="Login!" /></td>
</tr>
</table>
</form>