|
#1
|
|||
|
|||
|
I have one of the templates offered by hostgator.com and on the main page there are text areas for my clients to login into the CPanels. Does anyone know if there is a script that will enable me to activate that login box or am I missing something somewhere?
Thanks in advance. London. |
|
#2
|
||||
|
||||
|
Havent tested this, but try using this for your form tag
<form action=http://yourdomain.com:2082/login/ method=post> and be sure your username field is named 'user', and your password field is named 'pass' Let me know if that works. |
|
#3
|
|||
|
|||
|
Thank you.
That almost worked! I added my user name and password into the text areas and clicked the button and a logn prompt opened up with my username present but without the password. Now even that would be fine if the password was present but it did seem redundant and possibly to some clients, unprofessional. I will keep searching and if anyone comes up with an idea, hack, fix let me know. Thanks again in advance everyone : ) London. |
|
#4
|
||||
|
||||
|
You sure you didnt type your password incorrectly? I just set up a test page and it works fine for me.
|
|
#5
|
||||
|
||||
|
london,
maybe this thread has some info for you: http://forum.hostgator.com/viewtopic.php?t=443 Stef. |
|
#6
|
|||
|
|||
|
Quote:
Yes, this is the code that I have right now: [code:1:9af2d9be98]<tr> <td width="43%" class="companyname"><form action="http://my_domain.com:2082/login" method="post"> Login here:</td> <td width="57%">&nbsp;</td> </tr> <tr> <td><input name="user" type="text" value="Username" size="20" maxlength="20"></td> <td>&nbsp;</td> </tr> <tr> <td><input name="pass" type="text" value="Password" size="20" maxlength="20"></td> <td><a href="cpanel"><img src="images/button.jpg" width="20" height="17" border="0"></a></form></td> </tr>[/code:1:9af2d9be98] This time not even my user name came up. Thank you though, I'm sure I'll figure this out. London. |
|
#7
|
||||
|
||||
|
Make sure to include a final '/' after the action URL.
http://yoursite.com:2082/login/ See if that makes a difference. |
|
#8
|
||||
|
||||
|
Oh, one other small thing I would recommend is adding a small javascript event that clears the fields before a user types. I love little things like this.
![]() To accomplish it, add: onFocus=this.value='' inside both of your text input fields. |
|
#9
|
|||
|
|||
|
Are you using Internet Explorer 6 with the latest Microsoft patches? If so, a security "improvement" has been added that disallows logging into .htaccess protected pages by means other than the pop-up box.
If you use any other browser, or any version of IE 6 other than the latest update, you can still log in fine using the form embedded in the page, but if you (as I do) patch everything that Microsoft tells you to you'll still get the pop-up after you submit the form. Good old Microsoft.
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Closed] front page | trainiac | Shared Hosting Support | 2 | 06-04-2004 01:43 AM |
| [Closed] Hostgator Clients BEWARE!!!!!!!! PLEASE READ | Buckshot | Shared Hosting Support | 2 | 05-18-2004 09:20 PM |
| Cpanel login form on index.html page? | brian22 | Shared Hosting Support | 4 | 03-17-2004 04:23 AM |
All times are GMT -5. The time now is 10:52 AM.









