Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1458 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

login pages

Thread title: login pages
Closed Thread    
    Thread tools Search this thread Display Modes  
05-21-2006, 03:25 AM
#1
depthskins is offline depthskins
depthskins's Avatar
Status: I love this place
Join date: Apr 2006
Location: Canada
Expertise:
Software:
 
Posts: 699
iTrader: 0 / 0%
 

depthskins is on a distinguished road

Send a message via MSN to depthskins Send a message via Yahoo to depthskins Send a message via Skype™ to depthskins

  Old  login pages

Let's say i have a cPanel page like:
www.depthskins.com/cpanel

And I want someone to login there, say from my website...how do i do that?

Or another example,

Let's say I have basecamp and I want clients to login to basecamp from my website, how is that possible?

I know the form set up, you use "post" method and "action=url of the website". I've tried that but to no avail. Could someone help me out?

05-21-2006, 04:00 AM
#2
jjmac is offline jjmac
jjmac's Avatar
Status: Member
Join date: May 2006
Location:
Expertise:
Software:
 
Posts: 197
iTrader: 0 / 0%
 

jjmac is on a distinguished road

  Old

Cpanel uses .htaccess derivatives to password protect the app if I'm not mistaken. Are you wanting to know how to password protect anything in general, or do you want people to log into cpanel from another site? (two different solutions)

05-21-2006, 04:06 AM
#3
depthskins is offline depthskins
depthskins's Avatar
Status: I love this place
Join date: Apr 2006
Location: Canada
Expertise:
Software:
 
Posts: 699
iTrader: 0 / 0%
 

depthskins is on a distinguished road

Send a message via MSN to depthskins Send a message via Yahoo to depthskins Send a message via Skype™ to depthskins

  Old

Originally Posted by jjmac
Cpanel uses .htaccess derivatives to password protect the app if I'm not mistaken. Are you wanting to know how to password protect anything in general, or do you want people to log into cpanel from another site? (two different solutions)

the second problem u stated

05-21-2006, 04:17 AM
#4
jjmac is offline jjmac
jjmac's Avatar
Status: Member
Join date: May 2006
Location:
Expertise:
Software:
 
Posts: 197
iTrader: 0 / 0%
 

jjmac is on a distinguished road

  Old

You'll have to know where the location of the page that processes cpanel at your host is. You might be able to get this information by going to your cpanel and clicking cancel insstead of logging in. Then if a form is there, view the source.

It might say something like "/login" in the <form action="/login"> part. If so, you'll need to copy and paste the entire domain URL with "/login" appended to it in your action property of the form. For example, if your domain was "http://sample.com" and the cpanel was on port 1092 (http://www.sample.com:1092) and your cpanel form action said "/login" when you clicked cancel, you'd want to use this for your form action:

HTML Code:
<form action="http://sample.com:1092/login" method="POST">
Username
<input type="text" name="user" size="16">
Password
<input type="password" name="pass" size="16">
<input type="submit" value="Login">
</form>
Sorry I can't be more specific, but it totally depends on how and where cpanel is set up where you're hosted.

05-21-2006, 04:21 AM
#5
depthskins is offline depthskins
depthskins's Avatar
Status: I love this place
Join date: Apr 2006
Location: Canada
Expertise:
Software:
 
Posts: 699
iTrader: 0 / 0%
 

depthskins is on a distinguished road

Send a message via MSN to depthskins Send a message via Yahoo to depthskins Send a message via Skype™ to depthskins

  Old

Yes, that's what I did and all you get is error when loggin in and then forwards you to cpanel login page. That's the problem i'm gettin.

05-21-2006, 04:22 AM
#6
aLx is offline aLx
Status: Senior Member
Join date: Jan 2006
Location: USA
Expertise:
Software:
 
Posts: 922
iTrader: 13 / 100%
 

aLx is on a distinguished road

Send a message via AIM to aLx

  Old

Here You Are This Would Be The Code Assuming The Site You Are Posting It On Is Your Root URL

Code:
<form action="/cpanel/login/" method="POST">
<table>
<tr><td>Username</td>

<td><input type="text" name="user" size="16"></td></tr>
<tr><td>Password</td><td><input type="password" name="pass" size="16">
</td></tr><tr><td colspan="2"><div align="right">
<input type="submit" value="Login">
</div></td></tr>
</table></form>

05-21-2006, 04:25 AM
#7
jjmac is offline jjmac
jjmac's Avatar
Status: Member
Join date: May 2006
Location:
Expertise:
Software:
 
Posts: 197
iTrader: 0 / 0%
 

jjmac is on a distinguished road

  Old

Very strange that it did not work. You might contact the host to find out if there's something different or significant about the way they've set up cpanel. That method worked fine on my host.

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed