Date: 08/31/00
- Next message: Luca Perugini: "[PHP-DOC] cvs: phpdoc /it/functions ldap.xml"
- Previous message: Luca Perugini: "[PHP-DOC] cvs: phpdoc /it/functions nis.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
perugini Thu Aug 31 15:37:42 2000 EDT
Modified files:
/phpdoc/it/features http-auth.xml
Log:
Sync with en tree.
Index: phpdoc/it/features/http-auth.xml
diff -u phpdoc/it/features/http-auth.xml:1.1 phpdoc/it/features/http-auth.xml:1.2
--- phpdoc/it/features/http-auth.xml:1.1 Sat Dec 18 17:00:07 1999
+++ phpdoc/it/features/http-auth.xml Thu Aug 31 15:37:42 2000
@@ -72,13 +72,13 @@
<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)) ) {
+ if(!isset($PHP_AUTH_USER) || ($SeenBefore == 1 && !strcmp($OldAuth, $PHP_AUTH_USER)) ) {
authenticate();
}
else {
- Next message: Luca Perugini: "[PHP-DOC] cvs: phpdoc /it/functions ldap.xml"
- Previous message: Luca Perugini: "[PHP-DOC] cvs: phpdoc /it/functions nis.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

