didou Sat Feb 5 22:18:56 2005 EDT
Modified files: /phpdoc/en/reference/nsapi/functions nsapi-request-headers.xml nsapi-response-headers.xml nsapi-virtual.xml Log: WS (start at col 0)
http://cvs.php.net/diff.php/phpdoc/en/reference/nsapi/functions/nsapi-request-headers.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/nsapi/functions/nsapi-request-headers.xml diff -u phpdoc/en/reference/nsapi/functions/nsapi-request-headers.xml:1.3 phpdoc/en/reference/nsapi/functions/nsapi-request-headers.xml:1.4 --- phpdoc/en/reference/nsapi/functions/nsapi-request-headers.xml:1.3 Sat Jan 29 19:46:43 2005 +++ phpdoc/en/reference/nsapi/functions/nsapi-request-headers.xml Sat Feb 5 22:18:55 2005 @@ -1,64 +1,64 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> - <refentry id="function.nsapi-request-headers"> - <refnamediv> - <refname>nsapi_request_headers</refname> - <refpurpose>Fetch all HTTP request headers</refpurpose> - </refnamediv> - <refsect1 role="description"> - &reftitle.description; - <methodsynopsis> - <type>array</type><methodname>nsapi_request_headers</methodname> - <void/> - </methodsynopsis> - <para> - <function>nsapi_request_headers</function> gets all the HTTP headers in - the current request. This is only supported when PHP runs as a - <productname>NSAPI</productname> module. - </para> - <note> - <para> - Prior to PHP 4.3.3, <function>getallheaders</function> was only - available for the Apache servers. After PHP 4.3.3, - <function>getallheaders</function> is an alias for - <function>nsapi_request_headers</function> if you use the NSAPI module. - </para> - </note> - <note> - <para> - You can also get at the value of the common CGI variables by - reading them from the <literal>$_SERVER</literal> superglobal, which - works whether or not you are using PHP as a - <productname>NSAPI</productname> module. - </para> - </note> - </refsect1> - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> - Returns an associative array with all the HTTP headers. - </para> - </refsect1> - <refsect1 role="examples"> - &reftitle.examples; - <para> - <example> - <title><function>nsapi_request_headers</function> example</title> - <programlisting role="php"> +<!-- $Revision: 1.4 $ --> +<refentry id="function.nsapi-request-headers"> + <refnamediv> + <refname>nsapi_request_headers</refname> + <refpurpose>Fetch all HTTP request headers</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>nsapi_request_headers</methodname> + <void/> + </methodsynopsis> + <para> + <function>nsapi_request_headers</function> gets all the HTTP headers in + the current request. This is only supported when PHP runs as a + <productname>NSAPI</productname> module. + </para> + <note> + <para> + Prior to PHP 4.3.3, <function>getallheaders</function> was only + available for the Apache servers. After PHP 4.3.3, + <function>getallheaders</function> is an alias for + <function>nsapi_request_headers</function> if you use the NSAPI module. + </para> + </note> + <note> + <para> + You can also get at the value of the common CGI variables by + reading them from the <literal>$_SERVER</literal> superglobal, which + works whether or not you are using PHP as a + <productname>NSAPI</productname> module. + </para> + </note> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns an associative array with all the HTTP headers. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>nsapi_request_headers</function> example</title> + <programlisting role="php"> <![CDATA[ <?php $headers = nsapi_request_headers(); foreach ($headers as $header => $value) { - echo "$header: $value <br />\n"; + echo "$header: $value <br />\n"; } ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/nsapi/functions/nsapi-response-headers.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/nsapi/functions/nsapi-response-headers.xml diff -u phpdoc/en/reference/nsapi/functions/nsapi-response-headers.xml:1.4 phpdoc/en/reference/nsapi/functions/nsapi-response-headers.xml:1.5 --- phpdoc/en/reference/nsapi/functions/nsapi-response-headers.xml:1.4 Sat Jan 29 19:46:43 2005 +++ phpdoc/en/reference/nsapi/functions/nsapi-response-headers.xml Sat Feb 5 22:18:55 2005 @@ -1,38 +1,38 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> - <refentry id="function.nsapi-response-headers"> - <refnamediv> - <refname>nsapi_response_headers</refname> - <refpurpose> - Fetch all HTTP response headers - </refpurpose> - </refnamediv> - <refsect1 role="description"> - &reftitle.description; - <methodsynopsis> - <type>array</type><methodname>nsapi_response_headers</methodname> - <void/> - </methodsynopsis> - <para> - Gets all the NSAPI response headers. - </para> - </refsect1> - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> - Returns an associative array with all the NSAPI response headers. - </para> - </refsect1> - <refsect1 role="seealso"> - &reftitle.seealso; - <para> - <simplelist> - <member><function>nsapi_request_headers</function></member> - <member><function>headers_sent</function></member> - </simplelist> - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.5 $ --> +<refentry id="function.nsapi-response-headers"> + <refnamediv> + <refname>nsapi_response_headers</refname> + <refpurpose> + Fetch all HTTP response headers + </refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>nsapi_response_headers</methodname> + <void/> + </methodsynopsis> + <para> + Gets all the NSAPI response headers. + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns an associative array with all the NSAPI response headers. + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>nsapi_request_headers</function></member> + <member><function>headers_sent</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/nsapi/functions/nsapi-virtual.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/nsapi/functions/nsapi-virtual.xml diff -u phpdoc/en/reference/nsapi/functions/nsapi-virtual.xml:1.9 phpdoc/en/reference/nsapi/functions/nsapi-virtual.xml:1.10 --- phpdoc/en/reference/nsapi/functions/nsapi-virtual.xml:1.9 Sat Jan 29 19:46:43 2005 +++ phpdoc/en/reference/nsapi/functions/nsapi-virtual.xml Sat Feb 5 22:18:55 2005 @@ -1,69 +1,69 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> - <refentry id="function.nsapi-virtual"> - <refnamediv> - <refname>nsapi_virtual</refname> - <refpurpose>Perform an NSAPI sub-request</refpurpose> - </refnamediv> - <refsect1 role="description"> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>nsapi_virtual</methodname> - <methodparam><type>string</type><parameter>uri</parameter></methodparam> - </methodsynopsis> - <para> - <function>nsapi_virtual</function> is an NSAPI-specific function which - is equivalent to <!--#include virtual...--> in SSI - (<filename>.shtml</filename> files). It does an NSAPI sub-request. - It is useful for including CGI scripts or .shtml files, or anything - else that you'd parse through webserver. - </para> - <para> - To run the sub-request, all buffers are terminated and flushed to the - browser, pending headers are sent too. - </para> - <para> - You cannot make recursive requests with this function to other PHP scripts. - If you want to include PHP scripts, use <function>include</function> or - <function>require</function>. - </para> - <note> - <para> - This function depends on a undocumented feature of the Netscape/iPlanet/SunONE - webservers. Use <function>phpinfo</function> to determine if it is available. - In the Unix environment it should always work, in windows it depends on the name of - a <filename>ns-httpdXX.dll</filename> file. - </para> - <para> - Read the note about subrequests in the NSAPI section (<link - linkend='install.unix.sun.notes'>UNIX</link>, <link - linkend='install.windows.sun.notes'>Windows</link>) if you experience - this problem. - </para> - </note> - </refsect1> - <refsect1 role="parameters"> - &reftitle.parameters; - <para> - <variablelist> - <varlistentry> - <term><parameter>uri</parameter></term> - <listitem> - <para> - The URI of the script. - </para> - </listitem> - </varlistentry> - </variablelist> - </para> - </refsect1> - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> - &return.success; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.10 $ --> +<refentry id="function.nsapi-virtual"> + <refnamediv> + <refname>nsapi_virtual</refname> + <refpurpose>Perform an NSAPI sub-request</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>nsapi_virtual</methodname> + <methodparam><type>string</type><parameter>uri</parameter></methodparam> + </methodsynopsis> + <para> + <function>nsapi_virtual</function> is an NSAPI-specific function which + is equivalent to <!--#include virtual...--> in SSI + (<filename>.shtml</filename> files). It does an NSAPI sub-request. + It is useful for including CGI scripts or .shtml files, or anything + else that you'd parse through webserver. + </para> + <para> + To run the sub-request, all buffers are terminated and flushed to the + browser, pending headers are sent too. + </para> + <para> + You cannot make recursive requests with this function to other PHP scripts. + If you want to include PHP scripts, use <function>include</function> or + <function>require</function>. + </para> + <note> + <para> + This function depends on a undocumented feature of the Netscape/iPlanet/SunONE + webservers. Use <function>phpinfo</function> to determine if it is available. + In the Unix environment it should always work, in windows it depends on the name of + a <filename>ns-httpdXX.dll</filename> file. + </para> + <para> + Read the note about subrequests in the NSAPI section (<link + linkend='install.unix.sun.notes'>UNIX</link>, <link + linkend='install.windows.sun.notes'>Windows</link>) if you experience + this problem. + </para> + </note> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>uri</parameter></term> + <listitem> + <para> + The URI of the script. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: