Results 1 to 3 of 3

Thread: RE: FAQ "login to cPanel from a website form"

  1. #1
    Senior Member Jonathan's Avatar
    Join Date
    Mar 2004
    Location
    Daytona Beach, FL / Rochester, NY / Coeur d'Alene, ID
    Posts
    1,229

    Default RE: FAQ "login to cPanel from a website form"

    FAQ: http://forums.dathorn.com/showthread.php?t=62

    Hey, KyleC, I tried to use that; but instead, I put
    2082 with 2095, which would log into Webmail instead of cPanel.

    Now, this worked, yes; but it seemed every image
    that wanted to load, I had to re-enter my password in that lil popup box.

    Same with doing anything; is there a way to make it simply
    so it pops up one time? Or is this because I put it as 2095 for webmail?

    Just wondering, as I am setting up a online gaming "clan" (group)
    website template, and would like to use this in it

    PS: Could this also be because my site
    does not have an SSL Certificate?
    Would having this form for cPanel or Webmail be
    more than just a "trival" insecurity without an SSL Certificate?


    <EDIT>Here's a script I found on the web, but
    not sure how secure it is, etc.

    ** Place Inside the <BODY> </BODY> Tags **
    PHP Code:
    <script language="javascript"
    function 
    Login(form) { 
    var 
    username form.username.value
    var password form.password.value
    var server form.server.value
    if (username && password && server) { 
    var 
    neomail "http://" username +"+"+server":" password "@" server ":2095/" "neomail/neomail.pl"
    window.status='WebMail Login'
    window.location neomail


    else { 
    alert("Please fill the username and the password")
    }
    }
    </
    script

    <
    form name="login">
    <
    table border="0" cellpadding="1" align="center" width="430">

    <
    tr><td align=center>
    <
    font color="#000000" face="Verdana, Arial, Helvetica, sans-serif">
           <
    h1><b><font color="#CCCCCC">Webmail Login</font></b></h1>

    <!-- 
    Replace the yourdomain.com in the next line withwellyou know. -->

    <
    input type="hidden" value="domain.com" name="server" maxlength="30" size="15">
    </
    font></td></tr>

    <
    tr><td align="center">
    <
    h2>User:&nbsp;&nbsp;
    <
    input type="text" name="username" size="15" maxlength="30">
    </
    h2></td></tr>

    <
    tr><td align="center">
    <
    h2>Password:&nbsp;&nbsp;
    <
    input type="password" name="password" size="20">
    </
    h2></td></tr>

    <
    tr><td align="center">
    <
    input type="submit" value="Login" onClick="Login(this.form)" name="button">
    </
    td></tr>

    </
    table
    </
    form
    </EIDT>
    Last edited by Jonathan; 03-28-2004 at 05:39 PM.
    "How can someone be so distracted yet so focused?"
    - C

  2. #2
    Senior Member KyleC's Avatar
    Join Date
    Mar 2004
    Location
    Dallas, TX
    Posts
    291

    Default

    i didnt write that, and i dont remember who did, someone on these forums i think, or they found it somewhere.

    If you are using https that may be the problem, did you try to just use http?
    its not a big deal in my opinion to use http insead of https for webmail.

    -kyle

  3. #3
    Senior Member Jonathan's Avatar
    Join Date
    Mar 2004
    Location
    Daytona Beach, FL / Rochester, NY / Coeur d'Alene, ID
    Posts
    1,229

    Default

    Quote Originally Posted by KyleC
    i didnt write that, and i dont remember who did, someone on these forums i think, or they found it somewhere.

    If you are using https that may be the problem, did you try to just use http?
    its not a big deal in my opinion to use http insead of https for webmail.

    -kyle
    I am not using https, as my site is not running any
    sort of SSL Certificate, as I perfer to simply use PayPal;
    and yes, it was using normal http.
    "How can someone be so distracted yet so focused?"
    - C

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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