> $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/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php