login SquirrelMail from a web page login form using php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
selom86
Forum Newbie
Posts: 13
Joined: Tue Feb 10, 2009 7:27 am

login SquirrelMail from a web page login form using php

Post 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.
selom86
Forum Newbie
Posts: 13
Joined: Tue Feb 10, 2009 7:27 am

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

Post 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!
Post Reply