Corrected mispelling of 'analyze'

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194479 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Derek Ford 2005-08-27 23:48:12 +00:00
parent d6b12164a8
commit b21bdf5a10

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.42 $ -->
<!-- $Revision: 1.43 $ -->
<chapter id="features.http-auth">
<title>HTTP authentication with PHP</title>
@ -81,7 +81,7 @@ if (!isset($_SERVER['PHP_AUTH_DIGEST'])) {
die('Text to send if user hits Cancel button');
}
// analise the PHP_AUTH_DIGEST variable
// analyze the PHP_AUTH_DIGEST variable
preg_match('/username="(?P<username>.*)",\s*realm="(?P<realm>.*)",\s*nonce="(?P<nonce>.*)",\s*uri="(?P<uri>.*)",\s*response="(?P<response>.*)",\s*opaque="(?P<opaque>.*)",\s*qop=(?P<qop>.*),\s*nc=(?P<nc>.*),\s*cnonce="(?P<cnonce>.*)"/', $_SERVER['PHP_AUTH_DIGEST'], $digest);
if (!isset($users[$digest['username']]))