-
October 25th, 2007, 17:35
#1
Login Script
On my new site I want to have it where users can log in to cpanel via the main page. they can input thier username and password and click login and it logs in cpanel. How do i do this take a look at my code if you would like. http://raversworld.com
Thanks in advance,
John
-
October 26th, 2007, 02:49
#2
Here Ya Go:
<form action="http://www.raversworld.com:2082/login/" method="post">
<input name="login_theme" value="cpanel" type="hidden">
<table class="login" cellpadding="0" cellspacing="0" width="200">
<tbody><tr>
<td align="left"><b>Login to cPanel</b></td>
<td> </td>
</tr>
<tr>
<td>Username</td>
<td><input name="user" size="16" type="text"></td>
</tr>
<tr class="row2">
<td>Password</td>
<td><input name="pass" size="16" type="password"></td>
</tr>
<tr>
<td colspan="2" align="center"><input value="Login" class="input-button" type="submit"></td>
</tr>
</tbody></table>
</form>
Just copy and paste it where you want it.
Btw, Your site is down
Last edited by Cam.; October 26th, 2007 at 02:53.
-
October 26th, 2007, 22:04
#3
Works perfectly thanks a lot netx
this is secure right?
-
October 27th, 2007, 02:29
#4
~ The Hosting Tool ~ cPanel WHM/DA Support! cP Creator Importer! Post 2 Host! Fully Automated! ~ thehostingtool.com
-
October 27th, 2007, 05:35
#5

Originally Posted by
NetXHosting
Here Ya Go:
That's very nice of you and very usefull (took a copy of that myself
)
+rep
█ /\__/\ We Do Not Forgive!
█(- o *) We Do Not Forget!
█(")_(") Expect Us!
IT Help for everyone @
Scotia-IT.com - when it's finished

-
October 27th, 2007, 17:23
#6
Thanks
-
October 27th, 2007, 18:53
#7
Hey sorry to bother again but when i embed it, it doesn't fit right anyway you can make the login spaces smaller?
-
October 27th, 2007, 19:24
#8
Cough!
<td><input name="pass"
size="16" type="password"></td>
Edit the size parts (2 of them) to say 10 if it's too big
█ /\__/\ We Do Not Forgive!
█(- o *) We Do Not Forget!
█(")_(") Expect Us!
IT Help for everyone @
Scotia-IT.com - when it's finished

-
October 27th, 2007, 19:33
#9
Oops, I should have fixed that, It looked fine on my site though...
-
October 27th, 2007, 19:36
#10
Not your fault - bet ravers banging thier head on a wall right now
█ /\__/\ We Do Not Forgive!
█(- o *) We Do Not Forget!
█(")_(") Expect Us!
IT Help for everyone @
Scotia-IT.com - when it's finished

-
October 27th, 2007, 20:21
#11
How do I get it to go like this:
Username
**********
*input user *
**********
Password
***********
* input pass *
***********
so that way they are not right next to each other I tried putting <br> everywhere and still can seem to find out where to make it one below the other.
Last edited by raversworld; October 27th, 2007 at 20:46.
-
October 27th, 2007, 20:46
#12
What, you just need it spaced out better?
Not sure I'm picking up what you need.
█ /\__/\ We Do Not Forgive!
█(- o *) We Do Not Forget!
█(")_(") Expect Us!
IT Help for everyone @
Scotia-IT.com - when it's finished

-
October 27th, 2007, 20:49
#13
-
October 27th, 2007, 20:59
#14
Can you email the page and I'll look at the code - probably just an nbsp not there
█ /\__/\ We Do Not Forgive!
█(- o *) We Do Not Forget!
█(")_(") Expect Us!
IT Help for everyone @
Scotia-IT.com - when it's finished

-
October 27th, 2007, 21:27
#15
I got but thanks for all of your help
Please Close this thread now
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Bookmarks