cryptType question in AUTH_HTTP package
| From: | Kaj Schermer Didriksen | Date: | Mon, 27 Oct 2008 07:30:48 +0000 |
| Subject: | cryptType question in AUTH_HTTP package | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-29371@lists.php.net to get a copy of this message | ||
Hi
I have a mysql db with a PASSWORD encrypt column. How do I access this data
using MDB2 for AUTH_HTTP package? That is what do I state in the cryptType
for PASSWORD?
I have this:
$AuthOptions = array(
'dsn'=>"mysqli://test:test@localhost/testdb",
'table'=>"testable",
'usernamecol'=>"username",
'passwordcol'=>"password",
'cryptType'=>"" // md5 works but how about mysql PASSWORD enc.?
);
$a = new Auth_HTTP("MDB2", $AuthOptions);
I can make md5 work without any problem.
Regards
Kaj