Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Cpanel Login

  1. #1
    Join Date
    Apr 2005
    Location
    South Wales!
    Posts
    3,535
    Tokens
    2,371

    Latest Awards:

    Default Cpanel Login

    Can someone please make me a cpanel login box.

    I need it to log people into http://www.kw-host.net:2082

    Also a webmail login. One where you click from a selection menu and change it to webmail. If you know what I mean.

    +Rep if you can.

  2. #2
    Join Date
    May 2006
    Location
    Huntingdon (Cambridgeshire UK)
    Posts
    3,395
    Tokens
    0

    Latest Awards:

    Default

    Thats harder than u think.

  3. #3
    Join Date
    Apr 2005
    Location
    South Wales!
    Posts
    3,535
    Tokens
    2,371

    Latest Awards:

    Default

    not really. Nick has had one and dude.

  4. #4

    Default

    Save this as login.php

    PHP Code:
    <html>
    <?php

    // Do NOT Put www. on your domain - RobbiePwnage
    // HabboxForum.com  

    $domain $_POST['google.com'];

       if(!
    $_POST['login']) {
       exit;
       }

       
    $user $_POST['user'];
       
    $pass $_POST['pass'];
       
    $port $_POST['port'];

       
    $port == "2083" || $port == "2096" $pre "https://" $pre "http://www.";
       
    $port == "2095" || $port == "2096" && !eregi("@"$user) ? $user "".$user."@".$domain."" $user $user;

    ?>
    <body onLoad="setTimeout('document.forms[0].submit();',10)">
    <form action="<?php echo "".$pre."".$domain.":".$port."/login/"?>" method="post">
    <input type="hidden" name="user" value="<?php echo $user?>">
    <input type="hidden" name="pass" value="<?php echo $pass?>">
    </form>
    </body>
    </html>
    And This Is To Login

    Code:
    <form action="cplogin.php" method="post"> <table cellspacing="4" cellpadding="0"> <tr><td>Domain:</td><td><input type="text" name="domain"></td></tr> <tr><td>Username:</td><td><input type="text" name="user"></td></tr> <tr><td>Password:</td><td><input type="password" name="pass"></td></tr> <tr><td>Login To:</td> <td align="right"> <select name="port"> <option value="2082">cPanel</option> <option value="2083">Secure cPanel</option> <option value="2095">Webmail</option> <option value="2096">Secure Webmail</option> </select> </td></tr> <tr><td align="right" colspan="2"> <input type="submit" name="login" value="login" style="cursor:pointer"> </td> </tr> </table> </form>
    Last edited by RobbiePwnage; 16-09-2006 at 09:19 AM.
    Random PHP Script Of The Week

    PHP Code:
    <?php
    // Made by RobbiePwnage Of HabboxForum.com
    // Visual Basic Message Maker
    $msg $GET_['msg'];
    $title $GET_['title'];
    echo(
    'Code For Message In Visual Basic:<br><br>Private Sub Command1_Click()
    MsgBox \"$msg\" & vbNewLine & \"- RobbiePwnage\", "$title - RobbiePwnage\"
    End Sub'
    );
    ?>

  5. #5

    Default

    Message to Mods: It's Past 15 Minutes

    The login should be
    Code:
    <form action="login.php" method="post">
    <table cellspacing="4" cellpadding="0">
     <tr><td>Domain:</td><td><input type="text" name="domain"></td></tr>
     <tr><td>Username:</td><td><input type="text" name="user"></td></tr>
     <tr><td>Password:</td><td><input type="password" name="pass"></td></tr>
     <tr><td>Login To:</td>
     <td align="right">
     <select name="port">
     <option value="2082">cPanel</option>
     <option value="2083">Secure cPanel</option>
     <option value="2095">Webmail</option>
     <option value="2096">Secure Webmail</option>
     </select>
     </td></tr>
     <tr><td align="right" colspan="2">
     <input type="submit" name="login" value="login">
     </td>
    </tr>
    </table>
    </form>
    Random PHP Script Of The Week

    PHP Code:
    <?php
    // Made by RobbiePwnage Of HabboxForum.com
    // Visual Basic Message Maker
    $msg $GET_['msg'];
    $title $GET_['title'];
    echo(
    'Code For Message In Visual Basic:<br><br>Private Sub Command1_Click()
    MsgBox \"$msg\" & vbNewLine & \"- RobbiePwnage\", "$title - RobbiePwnage\"
    End Sub'
    );
    ?>

  6. #6
    Join Date
    Apr 2005
    Location
    South Wales!
    Posts
    3,535
    Tokens
    2,371

    Latest Awards:

    Default

    thanks. +rep

  7. #7
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    550
    Tokens
    0

    Default

    Quote Originally Posted by Hibbs View Post
    Thats harder than u think.
    If you know the very basics of PHP and HTML that is not hard at all.

  8. #8
    Join Date
    Apr 2005
    Location
    South Wales!
    Posts
    3,535
    Tokens
    2,371

    Latest Awards:

    Default

    it didnt work.

    when I click login it just goes to a blank page

  9. #9

    Default

    Try making login.php

    PHP Code:
    REMOVEDSee new post 
    for login.php
    Last edited by RobbiePwnage; 16-09-2006 at 01:46 PM.
    Random PHP Script Of The Week

    PHP Code:
    <?php
    // Made by RobbiePwnage Of HabboxForum.com
    // Visual Basic Message Maker
    $msg $GET_['msg'];
    $title $GET_['title'];
    echo(
    'Code For Message In Visual Basic:<br><br>Private Sub Command1_Click()
    MsgBox \"$msg\" & vbNewLine & \"- RobbiePwnage\", "$title - RobbiePwnage\"
    End Sub'
    );
    ?>

  10. #10

    Default

    DO NOT Edit Where it says $domain, just leave it all as it is, i've made it work now.


    PHP Code:
    <?php  

    $domain 
    $_POST['domain']; 

       if(!
    $_POST['login']) { 
       exit; 
       } 

       
    $user $_POST['user']; 
       
    $pass $_POST['pass']; 
       
    $port $_POST['port']; 

       
    $port == "2083" || $port == "2096" $pre "https://" $pre "http://www."
       
    $port == "2095" || $port == "2096" && !eregi("@"$user) ? $user "".$user."@".$domain."" $user $user

    ?> 
    <body onLoad="setTimeout('document.forms[0].submit();',10)"> 
    <form action="<?php echo "".$pre."".$domain.":".$port."/login/"?>" method="post"> 
    <input type="hidden" name="user" value="<?php echo $user?>"> 
    <input type="hidden" name="pass" value="<?php echo $pass?>"> 
    </form> 
    </body> 
    </html>
    Last edited by RobbiePwnage; 16-09-2006 at 01:47 PM.
    Random PHP Script Of The Week

    PHP Code:
    <?php
    // Made by RobbiePwnage Of HabboxForum.com
    // Visual Basic Message Maker
    $msg $GET_['msg'];
    $title $GET_['title'];
    echo(
    'Code For Message In Visual Basic:<br><br>Private Sub Command1_Click()
    MsgBox \"$msg\" & vbNewLine & \"- RobbiePwnage\", "$title - RobbiePwnage\"
    End Sub'
    );
    ?>

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •