Re: Auth and auto_prepend_file

From: Date: Tue, 08 Apr 2003 05:46:12 +0000
Subject: Re: Auth and auto_prepend_file
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4693@lists.php.net to get a copy of this message
On Tue, 2003-04-08 at 00:51, Brad Hubbard wrote: > 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? auto_prepend.php: <?php require_once "Auth/Auth.php"; $a = new Auth("...", "..."); $a->start(); ?> file.php: <?php /** this is protected, lala, lala */ ?> - Martin

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