ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> phpdoc
phpdoc
[PHP-DOC] cvs: phpdoc /en/features http-auth.xml
by Oliver Albers other posts by this author
May 8 2006 4:07PM messages near this date
[PHP-DOC] #37373 [Opn->Asn]: filter.default changed value | ezmlm warning
simp		Mon May  8 23:07:26 2006 UTC

  Modified files:              
    /phpdoc/en/features	http-auth.xml 
  Log:
  bug #37371
  
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/features/http-auth.xml?r1=1.44&r2=1.45&diff_format=
u
Index: phpdoc/en/features/http-auth.xml
diff -u phpdoc/en/features/http-auth.xml:1.44 phpdoc/en/features/http-auth.xml:1.45
--- phpdoc/en/features/http-auth.xml:1.44	Sun Nov  6 11:57:46 2005
+++ phpdoc/en/features/http-auth.xml	Mon May  8 23:07:26 2006
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?> 
-<!-- $Revision: 1.44 $ --> 
+<!-- $Revision: 1.45 $ --> 
  <chapter id="features.http-auth"> 
   <title> HTTP authentication with PHP</title>
 
@@ -76,7 +76,7 @@
 if (empty($_SERVER['PHP_AUTH_DIGEST'])) {
     header('HTTP/1.1 401 Unauthorized');
     header('WWW-Authenticate: Digest realm="'.$realm.
-           '" qop="auth" nonce="'.uniqid().'" opaque="'.md5($realm).'"');
+           '",qop="auth",nonce="'.uniqid().'",opaque="'.md5($realm).'"');
 
     die('Text to send if user hits Cancel button');
 }
@@ -129,7 +129,8 @@
     compatibility with all clients, the keyword "Basic" should be written with an
     uppercase "B", the realm string must be enclosed in double (not single) quotes,
     and exactly one space should precede the <emphasis> 401</emphasis> code in the 
-    <emphasis> HTTP/1.0 401</emphasis> header line.
+    <emphasis> HTTP/1.0 401</emphasis> header line. Authentication parameters have
+    to be comma-separated as seen in the digest example above.
    </para> 
   </note> 
 

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved