[imp] Hack for Login script for 2.3.7

Nick Ustinov Nick.Ustinov@videinfra.lv
Thu, 26 Apr 2001 01:23:04 +0300


try using $HTTP_POST_VARS['imapuser']

and why redefine $port, protocol e.t.c. ? You only have to change $imapuser
and $maildomain;




-----Original Message-----
From: Devin Atencio [mailto:dreamboy@aros.net]
Sent: Thursday, April 26, 2001 01:10
To: imp@lists.horde.org
Subject: [imp] Hack for Login script for 2.3.7



I was wanting to hack the login page so that I could have people login as
follows:

username: username@domain.com
password: password

and then it would switch the mail server according to watch was stuck in the
username, and
I added this code to the redirect.php file but it doesn't seem to work since
it seems to
read the HTTP_POST, how can i get this code to work?


$exp_imapuser = explode("@",$imapuser);
$imapuser = $exp_imapuser[0];
$pass = $pass;
$realm = $exp_imapuser[1];
$maildomain = "mail.".$exp_imapuser[1];
$port = "143";
$protocol = "imap";
$folders = "mail/";
$namespace = "INBOX";
$actionID = $actionID;

Any help would be appreciated.

                                               /'^'\
                                              ( o o )
------------------------------------------oOOO--(_)--OOOo----
    Devin Atencio
    ArosNet Systems Administration         .oooO
    EMail: dreamboy@aros.net               (   )   Oooo.
--------------------------------------------\ (----(   )-----
                                             \_)    ) /
                                                   (_/



-- 
IMP mailing list: http://horde.org/imp/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org