Re: Auth and auto_prepend_file

From: Date: Mon, 07 Apr 2003 23:19:38 +0000
Subject: Re: Auth and auto_prepend_file
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4691@lists.php.net to get a copy of this message
I can't be sure what your problem is, but from that I'm guessing it's one I've hit a couple of times... to get the active user after login it seems you have to use $_SESSION["auth"]["username"] - I have no idea why, but that seems to be how it is. Jon On Mon, 2003-04-07 at 23:51, Brad Hubbard wrote: > Sorry if this is lame ;-( > > I'm trying to use auto_prepend_file and PEAR::Auth to try and control access > to a set of PHP admin pages. I can't seem to get it right. Does anyone have a > working sample they could send me please? > > Cheers, > Brad

« previous php.pear.general (#4691) next »