PerlStalker's SysAdmin Notes and Tools

- Skip Navigation- Home / squirrelmail
+ Persistor
+ plugins
+ scripts
- Custom Login

Printer Friendly

Join the Blue Ribbon Online Free Speech Campaign

 

Custom Login

It's fairly common to want to add SquirrelMail login boxes to your web site, seperate from the mail SquirrelMail login page. Here is the form I use to do it. Note: Replace yourmailserver with your web mail server address and sm with the path to SquirrelMail.

For more details, see the SquirrelMail web site.


   1: <form method="Post" action="http://yourmailserver/sm/src/redirect.php">
   2:  <center>
   3:   <table border="0">
   4:    <tr>
   5:     <td>Email Address:</td>
   6:     <td><input type="text" name="login_username" size="16" maxlength="128" /></td>
   7:     <td></td>
   8:    </tr>
   9:    <tr>
  10:     <td>Password:</td>
  11:     <td><input type="password" name="secretkey" size="16" maxlegth="128" /></td>
  12:     <td><input type="submit" value="Login" /></td>
  13:    </tr>
  14:   </table>
  15:  </center>
  16: </form>

Download this file.

Useful Scripts

Copyright © 2003-2008 Randall B. Smith
<perlstalker AT falconsroost.alamosa.co.us>