Software: Apache. PHP/5.5.15 uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 SYSTEM Safe-mode: OFF (not secure) C:\dmz\php\pear\adodb\pear\ drwxrwxrwx |
Viewing file: readme.Auth.txt (570 B) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | 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 |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]-- |