For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > August 2005 > cvs: phpdoc /en/features http-auth.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/features http-auth.xml
Derek Ford

2005-08-27, 6:55 pm

derek Sat Aug 27 19:48:16 2005 EDT

Modified files:
/phpdoc/en/features http-auth.xml
Log:
Corrected mispelling of 'analyze'

http://cvs.php.net/diff.php/phpdoc/...42&r2=1.43&ty=u
Index: phpdoc/en/features/http-auth.xml
diff -u phpdoc/en/features/http-auth.xml:1.42 phpdoc/en/features/http-auth.xml:1.43
--- phpdoc/en/features/http-auth.xml:1.42 Sun Apr 10 05:56:39 2005
+++ phpdoc/en/features/http-auth.xml Sat Aug 27 19:48:12 2005
@@ -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 @@
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']]))
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com