[horde] check if the user was login

Jan Schneider jan at horde.org
Thu Apr 22 08:40:28 PDT 2004


Zitat von Peter Mueller <peter.mueller at freelinks.ch>:

> hello
>
> we make another application that should work with horde. which are the lines
> that i must put in the top of the script, to check if the user haved login
> with correct username/password?
>
> this example doesn't work:

Why not?

> define('IMP_BASE', dirname(__FILE__).'/');
> require_once IMP_BASE . '/lib/base.php';
>
> if (!Auth::getAuth())
> {
>  header("Location: http://domain.com");
>  exit;
> }
>
> with regards
> peter
>
> (version: horde 2.2.4, imp 3.2.2)

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft



More information about the horde mailing list