[imp] autologin based on redirect.php

Jan Schneider jan@horde.org
Thu, 11 Apr 2002 17:10:44 +0200


Zitat von Liam Hoekenga <liamr@umich.edu>:

> As it turns out, we made need to support IMAP servers other than the ones
> we
> run.  So, I'm trying to play with the servers.php - since I'd prefer to
> use the
> "prefered" mechanism, instead of having to have a bunch of SERVER_NAME
> based
> conditionals in our login script.  I was hoping that maybe I could just
> force
> the username and password, and let servers.php fill the rest of the stuff
> in. 

It should work if you set $HTTP_POST_VARS['server'] to the _key_ value of
the prefered server and set $conf['server']['server_list'] to 'show' or
'hidden'.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft