Page 1 of 1

login SquirrelMail from a web page login form using php

Posted: Mon Sep 21, 2009 9:44 pm
by selom86
Hello, I am quite new to php and I need to login squirrelmail from a web page form without going to the default SquirrelMail login page. Can you please tell me how to go about this? A very detailled step by step procedure will be appreciated.
this is my form

<form method="post" action="login.php">
User: <input type="text" name="login_username" size="10">
Password: <input type="password" name="secretkey" size="10">
<input type="submit" value="Login">
</form>

Thank you for reading and answering.

Re: login SquirrelMail from a web page login form using php

Posted: Tue Sep 22, 2009 5:51 am
by selom86
hi, i came across this site http://squirrelmail.org/wiki/EmbeddedSquirrelMailLogin which is exactly what i want. i just don't where to find src/redirect.php. Please help!