root/LayoutTests/http/tests/xmlhttprequest/resources/basic-auth-nouserpass/basic-auth-nouserpass.php

/* [<][>][^][v][top][bottom][index][help] */
<?php
  if (!isset($_SERVER['PHP_AUTH_USER']) && !isset($_SERVER['PHP_AUTH_PW'])) {
   header('WWW-Authenticate: Basic realm="WebKit Test Realm"');
   header('HTTP/1.0 401 Unauthorized');
   echo 'Authentication canceled';
   exit;
  } else {
   echo "User: {$_SERVER['PHP_AUTH_USER']}, password: {$_SERVER['PHP_AUTH_PW']}.";
  }
?>

/* [<][>][^][v][top][bottom][index][help] */