Re: Using Pear Auth
| From: | Josh McCormack | Date: | Thu, 30 Jan 2003 06:19:51 +0000 |
| Subject: | Re: Using Pear Auth | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133597@lists.php.net to get a copy of this message | ||
No, I put a new version of Pear in the directory I was developing in. I found this:
http://news.php.net/article.php?group=php.pear.general&article=3505
Seems there are lots of problems with Auth, despite Pear's 1.0 version.
Josh
John W. Holmes wrote:
$a = new Auth("DB", $dsn, "loginFunction"); which is causing this: Fatal error: Cannot instantiate non-existent class: auth in /opt/docs/www.xxx.net/passthru.php on line 21 Anyone know what I'm doing wrong? Is there a better example offunctionalAuth code out there?Since you're using an old version of pair, maybe the class name has changed. If you're successfully including auth.php, open it up and look at what the class is named. ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/