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")
> $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
I'm trying to use Pear on a server that had an old version of Pear, so I put the pear
directory in the directory where I'm working, and am including ini_set('include_path',
'path to pear'); at the top of my file. I then have
require_once('PEAR.php');
require_once('PEAR/Command/Auth.php'
3 matches
Mail list logo