mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
More cosmetic changes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@22354 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
9da817250c
commit
91594fa9bf
1 changed files with 14 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
|||
<reference id="ref.apache">
|
||||
<title>Apache-specific functions</title>
|
||||
<title>Apache-specific Functions</title>
|
||||
<titleabbrev>Apache</titleabbrev>
|
||||
|
||||
<refentry id="function.apache-lookup-uri">
|
||||
|
@ -47,8 +47,8 @@
|
|||
</para>
|
||||
<note>
|
||||
<simpara>
|
||||
Note: apache_lookup_uri only works when PHP is installed as an
|
||||
Apache module
|
||||
<function>Apache_lookup_uri</function> only works when PHP
|
||||
is installed as an Apache module.
|
||||
</simpara>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
@ -71,7 +71,7 @@
|
|||
</paramdef>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
<function>apache_note</function> is an Apache-specific function
|
||||
<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
|
||||
|
@ -110,7 +110,7 @@
|
|||
<title><function>getallheaders</function> Example</title>
|
||||
<programlisting role="php">
|
||||
$headers = getallheaders();
|
||||
while (list($header, $value) = each($headers)) {
|
||||
while (list ($header, $value) = each ($headers)) {
|
||||
echo "$header: $value<br>\n";
|
||||
}
|
||||
</programlisting>
|
||||
|
@ -139,16 +139,16 @@ while (list($header, $value) = each($headers)) {
|
|||
<paramdef>string <parameter>filename</parameter></paramdef>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
<function>virtual</function> is an Apache-specific function which
|
||||
<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 need to use
|
||||
<function>include</function> or <function>require</function>;
|
||||
<function>virtual</function> cannot be used to include a
|
||||
document which is itself a PHP file.
|
||||
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 need to
|
||||
use <function>include</function> or <function>require</function>;
|
||||
<function>virtual</function> cannot be used to include a document
|
||||
which is itself a PHP file.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
Loading…
Reference in a new issue