+ Reply to Thread
Results 1 to 7 of 7

Thread: Webmail Login Script v.1.00(By Passing the Popup Prompt)

  1. #1
    mr kennedy's Avatar
    mr kennedy is offline KENNNNNEEEEDYYY!!!! mr kennedy is an unknown quantity at this point
    Join Date
    Aug 2007
    Location
    Doha, State of Qatar
    Posts
    525

    Post Webmail Login Script v.1.00(By Passing the Popup Prompt)

    Script Name: Webmail Login Script
    Author: dgenx210 (x10's mr kennedy)
    Script Language: PHP
    Script Dependencies: Webmail
    Installation Time: <5 Minutes
    Installation Difficulty: EASY!

    Code 1:
    Here's the code for the login form. you could copy and paste this to (anyfilename).php, edit one line and save it.


    PHP Code:
    <?php

    /*#############################################*\
    # Webmail Login Form v.1.00
    # by dgenx210(dgenx210@gmail.com)
    # Exclusively created for x10Hosting.com
    #---------------------------------------
    # You are free to redistribute or alter this
    # source code as long as you keep this
    # copyright text.
    \*#############################################*/

    //config
    $maildomain 'yourdomain.com'//enter here the domain of your site

    //no need to edit below here :)
    ?>

    <title><?php echo $maildomain ?> Webmail Login</title>
    <center><form action="login_redir.php" method="post">
    <table cellspacing="4" cellpadding="0">
    <tr><td>Username:</td><td><input type="text" name="user">@<?php echo $maildomain ?></td></tr>
    <tr><td>Password:</td><td><input type="password" name="pass"></td></tr>
    <tr><td>Login To:</td>
    <td align="left">
    <select name="port">
    <option value="2095">Webmail</option>
    <option value="2096">Secure Webmail</option>
    </select>
    </td></tr>
    <tr><td align="left" colspan="2">
    <input type="submit" name="login" value="login" style="cursor:pointer">
    </td>
    </tr>
    </table>
    </form></center>
    Code 2:
    This code has only one line to edt just like the first code. Save this code as 'login_redir.php' without the quotemarks

    PHP Code:
    <html>
    <?php

    /*#############################################*\
    # Webmail Login Form v.1.00
    # by dgenx210(dgenx210@gmail.com)
    # Exclusively created for x10Hosting.com
    #---------------------------------------
    # You are free to redistribute or alter this
    # source code as long as you keep this
    # copyright text.
    \*#############################################*/

    #your domain or ip
    $domain "yourdomain.com";//replace 'yourdomain.com' with your x10Domain or Subdomain

    #no need to edit after this line!

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

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

    $port == "2083" || $port == "2096" $pre "https://" $pre "http://";
    $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>
    ----------------
    v2 will be coming before the year ends with the capablity of logging in to cPanel using the same script ;)
    ---------------
    Well this is my first script release and Feedbacks and Self Modifications are very warmly welcome.
    Last edited by mr kennedy; 12-23-2007 at 06:46 AM.

  2. #2
    dgold is offline x10Hosting Member dgold is an unknown quantity at this point
    Join Date
    Mar 2008
    Posts
    10

    Thumbs up Re: Webmail Login Script v.1.00(By Passing the Popup Prompt)

    i have already this script from freescripts.com

  3. #3
    hcse26's Avatar
    hcse26 is offline x10Hosting Member hcse26 is an unknown quantity at this point
    Join Date
    Oct 2008
    Location
    Doha, Qatar / Muntinlupa City, Philippines
    Posts
    94

    Re: Webmail Login Script v.1.00(By Passing the Popup Prompt)

    I'm the owner of this script now as I don't use the mr kennedy account because I'm no longer a paying customer.

    Quote Originally Posted by dgold View Post
    i have already this script from freescripts.com
    there are lots of scipts for doing this function but I've never released this outside of x10hosting.

  4. #4
    sunils's Avatar
    sunils is offline x10 Spammer sunils is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Chennai ,India
    Posts
    2,264

    Re: Webmail Login Script v.1.00(By Passing the Popup Prompt)

    good job. Nice and helpfull tutorial.
    [LEFT][B]Sunil Sankar
    -------------------------------------------------------------------------

  5. #5
    GTKILLA is offline x10 Sophmore GTKILLA is an unknown quantity at this point
    Join Date
    Aug 2008
    Posts
    142

    Re: Webmail Login Script v.1.00(By Passing the Popup Prompt)

    This looks like a good script! Thanks! Simple Tutorial too which is good for alot of people lol

  6. #6
    hcse26's Avatar
    hcse26 is offline x10Hosting Member hcse26 is an unknown quantity at this point
    Join Date
    Oct 2008
    Location
    Doha, Qatar / Muntinlupa City, Philippines
    Posts
    94

    Re: Webmail Login Script v.1.00(By Passing the Popup Prompt)

    Thanks for the comments guys.

    and please donate me some spare change if you can

  7. #7
    deepak.as79's Avatar
    deepak.as79 is offline x10Hosting Member deepak.as79 is an unknown quantity at this point
    Join Date
    Dec 2008
    Posts
    45

    Re: Webmail Login Script v.1.00(By Passing the Popup Prompt)

    nice script. thanks for sharing.

+ Reply to Thread

Similar Threads

  1. Replies: 8
    Last Post: 12-03-2007, 05:12 PM
  2. Mine Died. Anyone have a login script?
    By salukigirl in forum Scripts & 3rd Party Apps
    Replies: 0
    Last Post: 10-19-2007, 04:18 PM
  3. Secure login script question
    By cetutnx1 in forum Free Hosting
    Replies: 0
    Last Post: 05-01-2006, 06:40 PM
  4. Cant login to my news script
    By SecureStealth in forum Free Hosting
    Replies: 0
    Last Post: 09-08-2005, 06:47 PM
  5. PHP login script
    By xunhandmex in forum Scripts & 3rd Party Apps
    Replies: 8
    Last Post: 05-26-2005, 08:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers