Re: Pear Auth, a couple of questions

From: Date: Sat, 15 May 2004 12:44:44 +0000
Subject: Re: Pear Auth, a couple of questions
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12502@lists.php.net to get a copy of this message
I'm not a package developer, but I've spent a lot of time using and understanding PEAR, so here's my .02 cents. 1) Auth implements it's back end via containers. I've check the DB and MDB containers and both call their respective ::Connect () functions, which create new connections. You would have to modify the container code to reuse the database connection, either by use of the Singleton functions or hacking the DB/MDB objects to take your database connection. 2) Yup, just add the Auth package to some directory on your web server and modify the include_path to include that directory. Hope this helps.

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