[Pmwiki-users] Users and accountability]
Thomas -Balu- Walter
list+pmwiki-users
Mon Nov 22 14:40:27 CST 2004
----- Forwarded message from Haroon Khalid <scuzzo84 at bsdmail.com> -----
$authors = array(
'Jim' => crypt('fakepass'),
'Mary' => crypt('hello'));
$DefaultPasswords['edit'] = array_values($authors);
if (@$_SERVER['PHP_AUTH_PW']) {
foreach($authors as $a => $pw) {
if (crypt($_SERVER['PHP_AUTH_PW'],$pw)==$pw) { $Author = $a; break; }
}
}
----- End forwarded message -----
More information about the pmwiki-users
mailing list