Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Jun 2003
    Location
    Somerset, UK
    Posts
    43

    Default Using a customized form to login to WebMail

    Hello there,

    Since the way cPanel logged you into webmail we are unable to use our webmail login script on our site.

    Does anyone know of a way to get around this and offer a central place for our clients to login?

    Any help is appreciated.
    We've re-branded and become
    Taste Media
    Bespoke Web Design Agency

  2. #2
    Member
    Join Date
    Apr 2004
    Location
    Iran-Tehran
    Posts
    10

    Default

    i guess this code will help you:

    <form action="https://www.yoursite.com:2096/" method="POST">
    UserName:<input type=text name=user>
    PassWord:<input type=password name=pass>
    <input type="submit" name=B1>
    </form>
    Hamed
    www.iranshops.net

  3. #3
    Member
    Join Date
    Jun 2003
    Location
    Somerset, UK
    Posts
    43

    Default

    Originally posted by iranshops
    i guess this code will help you:

    <form action="https://www.yoursite.com:2096/" method="POST">
    UserName:<input type=text name=user>
    PassWord:<input type=password name=pass>
    <input type="submit" name=B1>
    </form>

    Hi there, thank you for the code, but how can it be so the client can enter their domain name?

    We have 12 servers and to have a central login would not work with the above code.

    Do you know if the domain name can be added?
    We've re-branded and become
    Taste Media
    Bespoke Web Design Agency

  4. #4
    Member
    Join Date
    Apr 2004
    Location
    Iran-Tehran
    Posts
    10

    Default

    this one should have two files:
    1- index.htm
    2- go.php

    login.htm:

    <form action="login.php" method="POST">
    Domain: http://www.<input type=text name=domain>
    </form>


    login.php:

    <form action="https://www.<? echo $domain ?>:2096/" method="POST">
    UserName:<input type=text name=user>
    PassWord:<input type=text name=pass>
    <input type="submit" name=B1>
    </form>

    login.htm will get the domain and login.php will get user and pass and will connect to the server.

    I wish it helps you.
    Hamed
    www.iranshops.net

  5. #5
    Member
    Join Date
    Jun 2003
    Location
    Somerset, UK
    Posts
    43

    Default

    When I complete the login.php one and then submit it tries to find:

    https://www.<? echo $domain ?>:2096/
    We've re-branded and become
    Taste Media
    Bespoke Web Design Agency

  6. #6
    Member
    Join Date
    Apr 2004
    Location
    Iran-Tehran
    Posts
    10

    Default

    hey man,
    remember these files must run under PHP SUPPORT SERVER. you can not run it by double click on windows.

    and it seems i forgot to put a SUBMIT button in the HTM file.
    login.htm:

    <form action="login.php" method="POST">
    Domain: http://www.<input type=text name=domain>
    <input type=submit name=b1 value=submit>
    </form>
    Hamed
    www.iranshops.net

  7. #7
    Member
    Join Date
    Jun 2003
    Location
    Somerset, UK
    Posts
    43

    Default

    Originally posted by iranshops
    hey man,
    remember these files must run under PHP SUPPORT SERVER. you can not run it by double click on windows.

    and it seems i forgot to put a SUBMIT button in the HTM file.
    login.htm:

    <form action="login.php" method="POST">
    Domain: http://www.<input type=text name=domain>
    <input type=submit name=b1 value=submit>
    </form>
    Its working now, thank you ever so much.
    We've re-branded and become
    Taste Media
    Bespoke Web Design Agency

Similar Threads & Tags
Similar threads

  1. Customized Webmail login page
    By patelbhavin8008 in forum E-mail Discussions
    Replies: 0
    Last Post: 04-20-2011, 03:54 PM
  2. Another webmail login form request
    By rligg in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-09-2009, 12:15 PM
  3. WebMail Login from my own form.....
    By tealmad in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-10-2005, 01:58 AM
  4. WebMail - Variables (Form Login)
    By SoftmegUK in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-20-2002, 03:18 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube