Re: Re: Auth

From: Date: Sat, 20 Mar 2004 14:34:35 +0000
Subject: Re: Re: Auth
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-181026@lists.php.net to get a copy of this message
Wrong List!! ----- Original Message ----- From: "Firman Wandayandi" <fwd@vfemail.net> To: "Frederic SOSSON" <fred_sos@swing.be> Cc: "PHP-GEN" <php-general@lists.php.net> Sent: Saturday, March 20, 2004 9:27 PM Subject: [PHP] Re: [PEAR] Auth > Hi Frederic, > > Stefan right, I just notice on the error > Fatal error: _factory(): Failed opening required 'Auth/Container/DB.php' > (include_path='.:') in /www/news/Auth-1.2.3/Auth.php on line 218 > > I'd bet you didn't turned On include_path directive on php.ini. Please > correct > thism, just remove semicolon at front of include_path. > > include_path = "path/to/pear" > > Firman > > ----- Original Message ----- > From: "Stefan Neufeind" <stefan@neufeind.net> > To: "pear-general" <pear-general@lists.php.net>; "Frederic SOSSON" > <fred_sos@swing.be> > Sent: Saturday, March 20, 2004 8:41 PM > Subject: Re: [PEAR] Auth > > > > Seems you didn't really "install" the package on your server but > > simply unpacked it? This is not the recommended way. See the docs on > > the possibilities available for installing pear-packages > > (http://pear.php.net/manual/en/). > > > > However, if you really want to try make it working with the unpacked > > version, include "Auth-1.2.3/" in your include-path. > > > > > > Good luck, > > Stefan > > > > On 20 Mar 2004 at 13:47, Frederic SOSSON wrote: > > > > > I am just trying to authenticate users with Pear Auth-1.2.3. > > > > > > My code is this one: > > > > > > => require_once "Auth-1.2.3/Auth.php"; > > > => > > > => function loginFunction() { > > > => echo "<FORM METHOD=POST action=\"" . > > > $_SERVER['PHP_SELF']

« previous php.general (#181026) next »