[imp] alternate perspective

Atif Ghaffar aghaffar@developer.ch
Tue, 22 Jan 2002 20:09:31 +0100


horde/hello.php
----
<?
include "lib/base.php";
$user=Auth::getAuth();
if($user){
         print "Hello $user";
} else {
         header('Location: ' . Horde::applicationUrl("login.php", true));
         exit;
}
?>

hope this helps



Zachary Denison wrote:

> maybe someone could provide an alternate perspective
> on how easy it is to use the horde login
> authentication framework, for non horde, php projects?
> specifically what files do I need to include, etc..
> 
> thank you
> 
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
> 
> 



-- 
Atif Ghaffar
---------------------------.
           +41 78 845 31 64 ¦ mobile
           +41 21 351 53 62 ¦ fax
     http://atifghaffar.com ¦ www