Re: [phplib] login page help From: giancarlo pinerolo (giancarlo <email protected>)
Date: 07/12/01

> > I was wondering if it was possible to have a login page that wasn't
> > protected by the phplib auth/perm functions? What I want to do is have a

I think you have to use the perms of $nobody, AKA 'default
authentication'

This way you can have perm, user and auth included anyware and still be
capable of discerning if someone is really someone logged in or not.

Otherwise, once he's logged in somewhere, he would not find is user
preferences wher user is not included.

The other way, if you include user, perm, auth, without
default_authentication set, the login will come out.

Giancarlo

> > "quick" login button on the index page of my site (which wouldn't be
> > protected) and after verifying the login information would redirect the user
> > to another page that is protected by the phplib auth/perm functions. What
> > I've tried to do so far is to send the user & password (via html
> > form)directly to the page (that's protected) & I've also tried to send the
> > information to another php script that processes the information & then
> > redirects to the protected page. Either way, I am still having the
> > login.ihtml page invoked. Is there anyone that's done this before and has a
> > code sample that I can look at?
> >
> > Thanks so much!
> >
> > Cresta
> >
> >
> > --
> > Abbestellen mit Mail an: phplib-unsubscribe <email protected>
> > Kommandoliste mit Mail an: phplib-help <email protected>
> >
>
> --
> Abbestellen mit Mail an: phplib-unsubscribe <email protected>
> Kommandoliste mit Mail an: phplib-help <email protected>

-- 
Abbestellen mit Mail an:   phplib-unsubscribe <email protected>
Kommandoliste mit Mail an: phplib-help <email protected>