sr Sat May 11 16:29:52 2002 EDT
Modified files:
/phpdoc/en/features http-auth.xml safe-mode.xml
/phpdoc/en/reference/http/functions header.xml
Log:
Documented addition of uid to WWW-Authenticate-realm in safe mode.
Index: phpdoc/en/features/http-auth.xml
diff -u phpdoc/en/features/http-auth.xml:1.21 phpdoc/en/features/http-auth.xml:1.22
--- phpdoc/en/features/http-auth.xml:1.21 Fri Feb 8 08:40:43 2002
+++ phpdoc/en/features/http-auth.xml Sat May 11 16:29:49 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.21 $ -->
+<!-- $Revision: 1.22 $ -->
<chapter id="features.http-auth">
<title>HTTP authentication with PHP</title>
@@ -133,6 +133,15 @@
Also note that this does not work using Microsoft's IIS server and
the CGI version of PHP due to a limitation of IIS.
</simpara>
+
+ <note>
+ <title>Note</title>
+ <para>
+ If <link linkend="ini.safe-mode">safe mode</link> is enabled the
+ uid of the script is added to the <literal>realm</literal> part of
+ the <literal>WWW-Authenticate</literal> header.
+ </para>
+ </note>
</chapter>
Index: phpdoc/en/features/safe-mode.xml
diff -u phpdoc/en/features/safe-mode.xml:1.23 phpdoc/en/features/safe-mode.xml:1.24
--- phpdoc/en/features/safe-mode.xml:1.23 Sat May 11 16:25:38 2002
+++ phpdoc/en/features/safe-mode.xml Sat May 11 16:29:49 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.23 $ -->
+<!-- $Revision: 1.24 $ -->
<chapter id="features.safe-mode">
<title>Safe Mode</title>
@@ -271,6 +271,13 @@
(case-insensitive)
will not be returned. Warning: this is broken with the aol-server
implementation of <function>getallheaders</function>!</entry>
+ </row>
+ <row>
+ <entry><function>header</function></entry>
+ <entry>In safe mode, the uid of the script is added to the
+ <literal>realm</literal> part of the
+ <literal>WWW-Authenticate</literal> header if you set this
+ header (used for HTTP Authentication).</entry>
</row>
<row>
<entry>
Index: phpdoc/en/reference/http/functions/header.xml
diff -u phpdoc/en/reference/http/functions/header.xml:1.2
phpdoc/en/reference/http/functions/header.xml:1.3
--- phpdoc/en/reference/http/functions/header.xml:1.2 Wed Apr 17 02:38:27 2002
+++ phpdoc/en/reference/http/functions/header.xml Sat May 11 16:29:49 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/http.xml, last change in rev 1.2 -->
<refentry id="function.header">
<refnamediv>
@@ -200,6 +200,14 @@
</para>
</note>
</para>
+ <note>
+ <simpara>
+ If <link linkend="ini.safe-mode">safe mode</link> is enabled the
+ uid of the script is added to the <literal>realm</literal> part
+ of the <literal>WWW-Authenticate</literal> header if you set
+ this header (used for HTTP Authentication).
+ </simpara>
+ </note>
<para>
See also <function>headers_sent</function>,
<function>setcookie</function>, and the section on