Re: Auth + DataObject
| From: | Norbert Mocsnik | Date: | Tue, 31 Aug 2004 23:52:39 +0000 |
| Subject: | Re: Auth + DataObject | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-14357@lists.php.net to get a copy of this message | ||
Jacques Nunes wrote:
How use the Auth package with DataObject? Anybody have a example?Hello Jacques, I think there's no way to use them together and it isn't necessary. You probably want to store Auth data in a database. In this case, you have to pass - the same DSN to Auth in its constructor http://pear.php.net/manual/en/package.authentication.auth.intro.php - that you pass to DB_DataObject in either an array or an .ini-file http://pear.php.net/manual/en/package.database.db-dataobject.intro-configuration.php DB_DataObject has nothing to do with Auth. Regards, Norbert -- Regards, Norbert Mocsnik http://norbert.mocsnik.hu/