cortesi         Tue Sep 24 15:57:27 2002 EDT

  Modified files:              
    /phpdoc/en/features http-auth.xml 
  Log:
  fixing example (it printed \n on screen)
  
  
Index: phpdoc/en/features/http-auth.xml
diff -u phpdoc/en/features/http-auth.xml:1.27 phpdoc/en/features/http-auth.xml:1.28
--- phpdoc/en/features/http-auth.xml:1.27       Sat Jul 13 17:37:03 2002
+++ phpdoc/en/features/http-auth.xml    Tue Sep 24 15:57:27 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.27 $ -->
+<!-- $Revision: 1.28 $ -->
  <chapter id="features.http-auth">
   <title>HTTP authentication with PHP</title>
 
@@ -44,7 +44,7 @@
   if (!isset($_SERVER['PHP_AUTH_USER'])) {
     header('WWW-Authenticate: Basic realm="My Realm"');
     header('HTTP/1.0 401 Unauthorized');
-    echo 'Text to send if user hits Cancel button\n';
+    echo 'Text to send if user hits Cancel button';
     exit;
   } else {
     echo "<p>Hello {$_SERVER['PHP_AUTH_USER']}.</p>";



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

Reply via email to