The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cpanel Login w/ Flash

Discussion in 'General Discussion' started by Unidox, Dec 25, 2006.

  1. Unidox

    Unidox Member

    Joined:
    Dec 25, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I have a hosting company wanted to know what could I use for the action script so my customers are able to login to cpanel and webmail. Thanks in advance!
     
  2. markfrompf

    markfrompf Well-Known Member

    Joined:
    Mar 27, 2006
    Messages:
    176
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Los Angeles, CA
    It's very easy. Just go to the cPanel/Webmail login page(s) and grab the code.

    Here's the example for cPanel login:
    HTML:
    <form action="/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>
    
    Here's the example for the Webmail login:
    HTML:
    <form action="/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>
    <tr><td colspan="2"><div align="left">
    <b>Note: Your Username is usually your email address.</b></div></td></tr>
    </table></form>
    I don't understand what you're talking about with flash and asp and all of that.

    Take a look at the link to my site in my sig and on the left side, you'll see a webmail login. That login is for Roundcube, but you should be able to do something like that if you implement the code correctly.


    Good luck!
     
  3. Unidox

    Unidox Member

    Joined:
    Dec 25, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Flash w/ Cpanel

    I have my login form in my flash header

    I would like my customers to be able to login to their cpanel/web mail

    I have a Flash 8 form. I made the username field, pass field, and submit button.(They are all differant layers(The submit button is in a Symbol group w/ layer 3 frame 1 and layer 3 frame 10)Look below for what they each contain) I am not sure of the actionscript required to make it work though. Can anyone help me by posting a short tutorial, or the action script that would make this work? Thanks!

    Submit button *Contains*

    Layer 3 Frame 1 - stop();

    Layer 3 Frame 10 - stop();

    Symbol 32 - on (rollOver) {

    gotoAndPlay(2);

    }

    on (rollOut) {

    gotoAndPlay(11);

    }

    The login name is symbol 48 and the password field is symbol 50

    Is there anyway this can be done?
     
Loading...

Share This Page