Date: 08/23/00
- Next message: Daniel Beckham: "Re: [PHP-DOC] phpdoc-HOWTO-mini -- Was: (Re: [PHP-DOC] cvs: phpdoc /en/functions oracle.xml)"
- Previous message: Hojtsy Gabor: "Re: [PHP-DOC] cvs: phpdoc /en/chapters config.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
jmoore Wed Aug 23 09:55:45 2000 EDT
Modified files:
/phpdoc/en/features http-auth.xml
Log:
Correcting error in example
Index: phpdoc/en/features/http-auth.xml
diff -u phpdoc/en/features/http-auth.xml:1.3 phpdoc/en/features/http-auth.xml:1.4
--- phpdoc/en/features/http-auth.xml:1.3 Wed Jul 5 03:24:17 2000
+++ phpdoc/en/features/http-auth.xml Wed Aug 23 09:55:45 2000
@@ -72,10 +72,10 @@
<programlisting role="php">
<?php
function authenticate() {
- Header( "WWW-authenticate: basic realm='Test Authentication System'");
- Header( "HTTP/1.0 401 Unauthorized");
- echo "You must enter a valid login ID and password to access this resource\n";
- exit;
+ Header( "WWW-authenticate: basic realm=\"Test Authentication System\"");
+ Header( "HTTP/1.0 401 Unauthorized");
+ echo "You must enter a valid login ID and password to access this resource\n";
+ exit;
}
if(!isset($PHP_AUTH_USER) || ($SeenBefore == 1 && !strcmp($OldAuth, $PHP_AUTH_USER)) ) {
- Next message: Daniel Beckham: "Re: [PHP-DOC] phpdoc-HOWTO-mini -- Was: (Re: [PHP-DOC] cvs: phpdoc /en/functions oracle.xml)"
- Previous message: Hojtsy Gabor: "Re: [PHP-DOC] cvs: phpdoc /en/chapters config.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

