[horde] Getting $user & $pass in plaintext

Sascha Kain kain at chiemgau-net.de
Tue Feb 22 04:24:47 PST 2005


Hi, how do i get the user and pass variables in plaintext from
imp/redirect.php to imp/config/menu.php?

In horde 2.2.x i did the following:

In redirect.php:
/**********************************************/
if (!empty($imapuser)){
    $_SESSION['benutzername'] = $imapuser;
    }
if (!empty($pass)){
    $_SESSION['passwort'] = $pass;
    }
/**********************************************/

In menu.php:
/**********************************************/
$pass = md5($_SESSION['passwort']);
...
'url' => "http.../spamconfig.asp?pwd=$pass&user=$_SESSION[benutzername]",
/**********************************************/


This is not working anymore, i dont get the variables in plaintext anymore
if i get redirected, only crypted. print_r($_SESSION); tells me.

Pls give me a hint.

Regards,





More information about the horde mailing list