Re: PEAR package

From: Date: Tue, 30 Sep 2003 10:51:05 +0000
Subject: Re: PEAR package
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8144@lists.php.net to get a copy of this message
Hi... ------------------------------- require_once 'Auth/Auth.php'; $adsn = array("dsn" => $db, // this is your database connection and in this case i use the DB class "table" => "user", "usernamecol" => "usr", "passwordcol" => "pwd" ); $a = new Auth("DB", $adsn, "", FALSE); //auth("Storage driver", "connection", "draw on form", "show form(bool)") $a->start(); ------------------------------- then you can use the whole class:P like checkin if the user is logged in or which user it is and so on. But check the manual, and get Maguma to edit you php files, coz the is a nice classs and function browser. It makes coding much easier. but remember, the include path must be set to whereever your pear-package is. good luck:) greets eike "S.G. Sudhakar" <sudhak76@netscape.net> schrieb im Newsbeitrag news:3F7920AE.10909@netscape.net... > Hello, > This is S.G. Sudhakar and I am working as a web developer. I need to > know how to use the "Auth" package library in my PHP code. I mean where > should I include the path from? > I have installed this package from PEAR package manager. It is also > listing in my installed package from PEAR package manager. I have > followed "Fully - automatic installation" procedure means > > pear install Auth > > > So where should I look into the installed files on which directory and > how should I include this package from my script? > Please give me the details about this. > > Thanks in advance > > Regards, > S.G. Sudhakar. > -- > Your favorite stores, helpful shopping tools and great gift ideas. > Experience the convenience of buying online with Shop@Netscape! > http://shopnow.netscape.com/

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