home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Servidores / xampp-win32-1.6.7-installer.exe / php / PEAR / adodb / pear / readme.Auth.txt
Encoding:
Internet Message Format  |  2005-09-08  |  570 b 

  1. From: Rich Tango-Lowy (richtl#arscognita.com)
  2. Date: Sat, May 29, 2004 11:20 am
  3.  
  4. OK, I hacked out an ADOdb container for PEAR-Auth. The error handling's 
  5. a bit of a mess, but all the methods work.
  6.  
  7. Copy ADOdb.php to your pear/Auth/Container/ directory.
  8.  
  9. Use the ADOdb container exactly as you would the DB
  10. container, but specify 'ADOdb' instead of 'DB':
  11.  
  12. $dsn = "mysql://myuser:mypass@localhost/authdb";
  13. $a = new Auth("ADOdb", $dsn, "loginFunction");
  14.  
  15.  
  16. -------------------
  17.  
  18. John Lim adds:
  19.  
  20. See http://pear.php.net/manual/en/package.authentication.php
  21.