Results 1 to 3 of 3
  1. #1

    Making my mail login box work

    Basically i want to make the login box located at the bottom left of - work with so when you enter username and pass it auto logs you in, any ideas?

  2. #2
    sometimes the simplest solutions are the hardest to see...

    in your HTML header:
    <script LANGUAGE="JavaScript" TYPE="text/javascript">
      function squirrelmail_loginpage_onload() {
        document.forms[0].js_autodetect_results.value = '1';
    // -->
    HTML form:
    <form ACTION="" METHOD="POST">
    Username: <input TYPE=TEXT NAME="login_username" VALUE="">
    Password: <input TYPE=PASSWORD NAME="secretkey">
    <input TYPE=HIDDEN NAME="js_autodetect_results" VALUE="0">
    <input TYPE=HIDDEN NAME="just_logged_in" value=1>
    <input TYPE=SUBMIT VALUE="Login">

  3. #3
    Thankyou - that script works perfectly and used in the site

Posting Permissions

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