Hi,
I've installed PHPWiki and my authentication doesn't work.
It simply rejects my correct username/password.
Here's the auth code. It seems fine to me.

Code:
   // Set these to your preferences. 
   // For heaven's sake pick a good password!
   $wikiadmin   = "myuser";
   $adminpasswd = "mypass";

   // Do not tolerate sloppy systems administration
   if (empty($wikiadmin) || empty($adminpasswd)) {
       echo gettext("Set the administrator account and password first.\n");
      exit;
   }

   // From the manual, Chapter 16
   if (($_SERVER['PHP_AUTH_USER'] != $wikiadmin  )  ||
       ($_SERVER['PHP_AUTH_PW']   != $adminpasswd)) {

     Header("HTTP/1.0 401 Unauthorized"); 
  Header("WWW-Authenticate: Basic realm=\"PhpWiki\"");
    

      echo gettext("You entered an invalid login or password." 
      exit;
   }