tom             Sun Jan 19 04:46:52 2003 EDT

  Modified files:              
    /phpdoc/en/features http-auth.xml 
  Log:
  changed example that html-result fits on the screen (bug #21727)
  
Index: phpdoc/en/features/http-auth.xml
diff -u phpdoc/en/features/http-auth.xml:1.30 phpdoc/en/features/http-auth.xml:1.31
--- phpdoc/en/features/http-auth.xml:1.30       Wed Dec 25 05:19:32 2002
+++ phpdoc/en/features/http-auth.xml    Sun Jan 19 04:46:52 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.30 $ -->
+<!-- $Revision: 1.31 $ -->
  <chapter id="features.http-auth">
   <title>HTTP authentication with PHP</title>
 
@@ -127,7 +127,8 @@
     exit;
   }
  
-  if (!isset($_SERVER['PHP_AUTH_USER']) || ($_POST['SeenBefore'] == 1 && 
$_POST['OldAuth'] == $_SERVER['PHP_AUTH_USER'])) {
+  if (!isset($_SERVER['PHP_AUTH_USER']) ||
+      ($_POST['SeenBefore'] == 1 && $_POST['OldAuth'] == $_SERVER['PHP_AUTH_USER'])) {
    authenticate();
   } 
   else {



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to