CVS update: php3/doc/functions
| From: | rasmus | Date: | Mon, 02 Nov 1998 13:22:40 +0000 |
| Subject: | CVS update: php3/doc/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2126@lists.php.net to get a copy of this message | ||
Date: Monday November 2, 1998 @ 8:22
Author: rasmus
Update of /repository/php3/doc/functions
In directory asf:/u2/tmp/cvs-serv9859/doc/functions
Modified Files:
apache.sgml
Log Message:
Put the Apache-specific functions in alphabetical order and add
apache_lookup_uri()
Index: php3/doc/functions/apache.sgml
diff -c php3/doc/functions/apache.sgml:1.1 php3/doc/functions/apache.sgml:1.2
*** php3/doc/functions/apache.sgml:1.1 Sat Jul 25 17:48:46 1998
--- php3/doc/functions/apache.sgml Mon Nov 2 08:22:40 1998
***************
*** 2,30 ****
<title>Apache Specific Functions</title>
<titleabbrev>Apache</titleabbrev>
! <refentry id="function.virtual">
<refnamediv>
! <refname>virtual</refname>
! <refpurpose>Perform an Apache sub-request</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
! <funcdef>int <function>virtual</function></funcdef>
<paramdef>string <parameter>filename</parameter></paramdef>
</funcsynopsis>
<para>
! <Function>virtual</function> is an Apache-specific function which is equivalent
! to <!--#include virtual...--> in mod_include. It performs an
! Apache sub-request. It is useful for including CGI scripts or .shtml
! files, or anything else that you would parse through Apache. Note that for
! a CGI script, the script must generate valid CGI headers. At the minimum that
! means it must generate a Content-type header.
! For PHP files, you should use <function>include</function> or
! <function>require</function>.
</refsect1>
</refentry>
<refentry id="function.getallheaders">
<refnamediv>
--- 2,71 ----
<title>Apache Specific Functions</title>
<titleabbrev>Apache</titleabbrev>
! <refentry id="function.apache-lookup-uri">
<refnamediv>
! <refname>apache_lookup_uri</refname>
! <refpurpose>Perform a partial request for the specified URI and return all info about
it</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
! <funcdef>class <function>apache_lookup_uri</function></funcdef>
<paramdef>string <parameter>filename</parameter></paramdef>
</funcsynopsis>
<para>
! This performs a partial request for a URI. It goes just far enough to obtain all the
! important information about the given resource and returns this information in a class.
! The properties of the returned class are:
! <simplelist>
! <member>status</member>
! <member>the_request</member>
! <member>status_line</member>
! <member>method</member>
! <member>content_type</member>
! <member>handler</member>
! <member>uri</member>
! <member>filename</member>
! <member>path_info</member>
! <member>args</member>
! <member>boundary</member>
! <member>no_cache</member>
! <member>no_local_copy</member>
! <member>allowed</member>
! <member>send_bodyct</member>
! <member>bytes_sent</member>
! <member>byterange</member>
! <member>clength</member>
! <member>unparsed_uri</member>
! <member>mtime</member>
! <member>request_time</member>
! </simplelist>
</refsect1>
</refentry>
+ <refentry id="function.apache-note">
+ <refnamediv>
+ <refname>apache_note</refname>
+ <refpurpose>Get and set apache request notes</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>string <function>apache_note</function></funcdef>
+ <paramdef>string <parameter>note_name</parameter></paramdef>
+ <paramdef>string
<parameter><optional>note_value</optional></parameter></paramdef>
+ </funcsynopsis>
+ <para>
+ <function>apache_note</function> is an Apache-specific function
+ which gets and sets values in a request's
+ <literal>notes</literal> table. If called with one argument, it
+ returns the current value of note
+ <literal>note_name</literal>. If called with two arguments, it
+ sets the value of note <literal>note_name</literal> to
+ <literal>note_value</literal> and returns the previous value of
+ note <literal>note_name</literal>.
+ </refsect1>
+ </refentry>
<refentry id="function.getallheaders">
<refnamediv>
***************
*** 59,87 ****
</refsect1>
</refentry>
! <refentry id="function.apache-note">
<refnamediv>
! <refname>apache_note</refname>
! <refpurpose>Get and set apache request notes</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
! <funcdef>string <function>apache_note</function></funcdef>
! <paramdef>string <parameter>note_name</parameter></paramdef>
! <paramdef>string
<parameter><optional>note_value</optional></parameter></paramdef>
</funcsynopsis>
<para>
! <function>apache_note</function> is an Apache-specific function
! which gets and sets values in a request's
! <literal>notes</literal> table. If called with one argument, it
! returns the current value of note
! <literal>note_name</literal>. If called with two arguments, it
! sets the value of note <literal>note_name</literal> to
! <literal>note_value</literal> and returns the previous value of
! note <literal>note_name</literal>.
</refsect1>
</refentry>
</reference>
--- 100,128 ----
</refsect1>
</refentry>
! <refentry id="function.virtual">
<refnamediv>
! <refname>virtual</refname>
! <refpurpose>Perform an Apache sub-request</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
! <funcdef>int <function>virtual</function></funcdef>
! <paramdef>string <parameter>filename</parameter></paramdef>
</funcsynopsis>
<para>
! <Function>virtual</function> is an Apache-specific function which is equivalent
! to <!--#include virtual...--> in mod_include. It performs an
! Apache sub-request. It is useful for including CGI scripts or .shtml
! files, or anything else that you would parse through Apache. Note that for
! a CGI script, the script must generate valid CGI headers. At the minimum that
! means it must generate a Content-type header.
! For PHP files, you should use <function>include</function> or
! <function>require</function>.
</refsect1>
</refentry>
+
</reference>
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net