RE: [PHP] Using Pear Auth
| From: | John W. Holmes | Date: | Wed, 29 Jan 2003 23:39:56 +0000 |
| Subject: | RE: [PHP] Using Pear Auth | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133572@lists.php.net to get a copy of this message | ||
> $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 of
functional
> Auth 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/