Forum Moderators: open
I built the database with this php
------------------------------------
<html><head></head>
<body>
<?php
$id = dba_open("/var/www/html/testaccessdb/passwords.db", "c");
if (!$id) {
echo "dba_popen failed<br>\n";
exit;
}
dba_replace("tester", crypt("pwtest","de"), $id);
if (dba_exists("tester", $id)) {
echo dba_fetch("tester", $id);
}
echo "<br>\nPassword Created<br><hr>";
dba_close($id);
?>
</body></html>
------------------------------------
The db file created looks like this
++++++++++++++++++++++++++++++++++++++++
6
tester13
deZWP7mwouj6A
++++++++++++++++++++++++++++++++++++++++
All this looks good but does not work.
I get the password dialog prompt
but the user / pw of tester / pwtest does not work
I suspect that I may be using the wrong 'Berkley DB' format but I really cannot find anything to tell me what the password file should look like.
[httpd.apache.org...]