www.webdeveloper.com
Results 1 to 7 of 7

Thread: Create a login page

  1. #1
    Join Date
    Aug 2010
    Posts
    38

    Arrow Create a login page

    I would like to connect to the mailbox without using the standard login. I tried to edit the original page writing this html code but I think that is not enough. I do not know php and I speak very bad English. Please excuse me. Someone can write php code to do this?

    Thank you very much

    PHP Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <
    html xmlns="http://www.w3.org/1999/xhtml">
    <
    head>
    <
    meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <
    title>Prova di connessione</title>
    <
    base href="https://ssl0.ovh.net/old/atmail/" />
    </
    head>
    <
    body>
    <
    form class="login-form" action="index.php" name='loginPage' method="post">
    E-Mail
    <input id="username" class="input" type="text" name="username">
    @
    <
    input id="pop3host" class="domain" type="text" name="pop3host">
    Password
    <input id="password"  class="input" type="password" name="password">
    <
    br /><br />
    <
    input class="formbutton" type="image" name="login" alt="Login" src="imgs/login-btn-login.jpg">
    </
    form>
    </
    body>
    </
    html

  2. #2
    Join Date
    Aug 2010
    Posts
    38
    up! up! up!

  3. #3
    Join Date
    Feb 2012
    Location
    Tallahassee, FL
    Posts
    280
    Do you own that site or are you trying to make a login on your site that passes to that one?

  4. #4
    Join Date
    Aug 2010
    Posts
    38
    I am the owner of the domain www.ddh393763hod03j38du3.com and I use this page:

    https://ssl0.ovh.net/old/atmail/index.php

    to connect to

    nameoftheemail@ddh393763hod03j38du3.com

    I am a customer of ovh hosting provider.

  5. #5
    Join Date
    Feb 2012
    Location
    Tallahassee, FL
    Posts
    280
    Oh, ok, well if I am understanding what you are wanting to do, then you would need an exact copy of the login form...
    Here, i did it for you:
    Code:
    <form class="login-form" action="https://ssl0.ovh.net/old/atmail/" name='loginPage' method="post">
    <table>
    <td width="90" height="40">Nom d'utilisateur:</td>
    <td ><input id="username" class="input" type="text" name="username"></td>
    <td><h3 id="at" class="at">@</h3></td>
    <td><input id="pop3host" class="domain" type="text" name="pop3host"></td>
    </tr>
    Mot de passe:<input id="password"  class="input" type="password" name="password">
    Serveur de mail:<input id="Mailserverinput" class="input" type="text" name="MailServer" value="213.186.33.20" disabled>
    Interface:<select class="interface" name="LoginType">
    <option value="simple">Basic (Any browser)</option>
    <option value="ajax">Simple (Ajax browser)</option>
    <option value="xp">Advanced (IE/FF)</option></select>
    Plus d'options:
    Langue:<select class="language" name="Language">
    <option value="" selected>Standard</option>
    <option value='arabic'>Arabic</option>
    <option value='catalan'>Catalan</option>
    <option value='danish'>Danish</option>
    <option value='dutch'>Dutch</option>
    <option value='english'>English</option>
    <option value='espanol'>Espanol</option>
    <option value='finnish'>Finnish</option>
    <option value='french'>French</option>
    <option value='german'>German</option>
    <option value='greek'>Greek</option>
    <option value='hungarian'>Hungarian</option>
    <option value='italiano'>Italiano</option>
    <option value='japanese'>Japanese</option>
    <option value='norwegian'>Norwegian</option>
    <option value='polish'>Polish</option>
    <option value='portuguese'>Portuguese</option>
    <option value='russian'>Russian</option>
    <option value='swedish'>Swedish</option>
    <option value='thai'>Thai</option></select>
    Protocole:<select name='MailType' class='protocol'>
    <option value='imap'>IMAP</option>
    <option value='imaps'>IMAP Secure</option></select>
    <input type='submit' name='login' />
    <input type='hidden' name='send' value='1'/>
    Remember Me: <input class="check" type='checkbox' name='RememberMe' value='1'></form>

  6. #6
    Join Date
    Aug 2010
    Posts
    38
    I already tried copying the code from the site but does not work because I go to this page:
    https://ssl0.ovh.net/old/atmail/index.php
    and I must do a second login.

  7. #7
    Join Date
    Feb 2012
    Location
    Tallahassee, FL
    Posts
    280
    The page you are posting to (https://ssl0.ovh.net/old/atmail/) must have a security measure built in the see where the form is coming from and deny it if the submission is coming from an external source.

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
  •  
HTML5 Development Center



Recent Articles