philip Tue Jan 18 13:08:10 2005 EDT
Modified files:
/phpdoc/en/reference/apache/functions apache-getenv.xml
Log:
Deals with bug #31591, and seealso Superglobals/getenv
http://cvs.php.net/diff.php/phpdoc/en/reference/apache/functions/apache-getenv.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/apache/functions/apache-getenv.xml
diff -u phpdoc/en/reference/apache/functions/apache-getenv.xml:1.3
phpdoc/en/reference/apache/functions/apache-getenv.xml:1.4
--- phpdoc/en/reference/apache/functions/apache-getenv.xml:1.3 Sun Aug 22
06:14:34 2004
+++ phpdoc/en/reference/apache/functions/apache-getenv.xml Tue Jan 18
13:08:08 2005
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="function.apache-getenv">
<refnamediv>
<refname>apache_getenv</refname>
@@ -17,6 +17,12 @@
environment variable specified by <parameter>variable</parameter>, or
&false; on failure.
</para>
+ <note>
+ <para>
+ <function>apache_getenv</function> is only defined when using
+ Apache 2.
+ </para>
+ </note>
<example>
<title><function>apache_getenv</function> example</title>
<programlisting role="php">
@@ -33,7 +39,9 @@
</para>
</example>
<para>
- See also <function>apache_setenv</function>.
+ See also <function>apache_setenv</function>,
+ <function>getenv</function>&listendand;
+ <link linkend="language.variables.superglobals">Superglobals</link>.
</para>
</refsect1>
</refentry>