Can someon help me with phpWiki, the login doesn't work but what I've entered is correct.
I can't find any errors in the code but maby you can
(not my real login -.- )
tyvm for atleast taking time to view this post.
I can't find any errors in the code but maby you can
Code:
// Set these to your preferences.
// For heaven's sake pick a good password!
$wikiadmin = "user";
$adminpasswd = "pass";
......
......
// From the manual, Chapter 16
if (($PHP_AUTH_USER != $wikiadmin ) ||
($PHP_AUTH_PW != $adminpasswd)) {
Header("WWW-Authenticate: Basic realm=\"PhpWiki\"");
Header("HTTP/1.0 401 Unauthorized");
echo gettext("You entered an invalid login or password.");
exit;
}
tyvm for atleast taking time to view this post.


Comment