This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/includes/adodb/pear
2008-11-26 14:50:40 -08:00
..
Auth/Container Initial Commit of AgileBill Open Source 2008-11-26 14:50:40 -08:00
readme.Auth.txt Initial Commit of AgileBill Open Source 2008-11-26 14:50:40 -08:00

From: Rich Tango-Lowy (richtl#arscognita.com)
Date: Sat, May 29, 2004 11:20 am

OK, I hacked out an ADOdb container for PEAR-Auth. The error handling's 
a bit of a mess, but all the methods work.

Copy ADOdb.php to your pear/Auth/Container/ directory.

Use the ADOdb container exactly as you would the DB
container, but specify 'ADOdb' instead of 'DB':

$dsn = "mysql://myuser:mypass@localhost/authdb";
$a = new Auth("ADOdb", $dsn, "loginFunction");


-------------------

John Lim adds:

See http://pear.php.net/manual/en/package.authentication.php