help with Auth_HTTP

From: Date: Thu, 11 Jul 2002 04:37:19 +0000
Subject: help with Auth_HTTP
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-1846@lists.php.net to get a copy of this message
Hello - I am having a lot of trouble with Auth_HTTP. I am using PostgreSQL and Auth works fine (after reading the source and figuring out that passwords need to be MD5 encrypted). I can't, however, make Auth_HTTP work at all. This is what I have. I have tried plaintext, md5, and crypt passwords all to no avail. I also can't find any further documentation other than what's on pear.php.net. Any ideas? Thanks!! Tim <? require_once "Auth_HTTP/Auth_HTTP.php"; require_once "DB.php"; $params = array( "dsn" => "pgsql://tim@localhost/auth", "table" => "auth", "usernamecol" => "username", "passwordcol" => "password" ); $a = new Auth_HTTP("DB", $params); $a->start(); ?> # select * from auth; username | password ----------+--------------------------------------- scott | password tim | $apr1$fVALv...$EajPmS/Yib8BzQ4YcfIAy.

« previous php.pear.general (#1846) next »