Server : Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.6 System : Windows NT USER-PC 6.1 build 7601 (Windows 7 Professional Edition Service Pack 1) AMD64 User : User ( 0) PHP Version : 7.4.6 Disable Function : NONE Directory : C:/xampp/php/pear/adodb/pear/ |
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