philip          Sat Jan 18 20:55:44 2003 EDT

  Modified files:              
    /phpdoc/en/appendices       reserved.xml 
  Log:
  Documented REMOTE_HOST and note when it's available.  Closes bug #17713
  
  
Index: phpdoc/en/appendices/reserved.xml
diff -u phpdoc/en/appendices/reserved.xml:1.26 phpdoc/en/appendices/reserved.xml:1.27
--- phpdoc/en/appendices/reserved.xml:1.26      Wed Nov  6 17:36:55 2002
+++ phpdoc/en/appendices/reserved.xml   Sat Jan 18 20:55:43 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.26 $ -->
+<!-- $Revision: 1.27 $ -->
 
  <appendix id="reserved">
   <title>List of Reserved Words</title>
@@ -474,6 +474,25 @@
          The IP address from which the user is viewing the current
          page.
         </simpara>
+       </listitem>
+      </varlistentry>
+
+      <varlistentry>
+       <term>'<varname>REMOTE_HOST</varname>'</term>
+       <listitem>
+        <simpara>
+         The Host name from which the user is viewing the current
+         page.  The reverse dns lookup is based off the 
+         <varname>REMOTE_ADDR</varname> of the user.
+        </simpara>
+        <note>
+         <simpara>
+          Your web server must be configured to create this variable. For
+          example in Apache you'll need <literal>HostnameLookups On</literal>
+          inside <filename>httpd.conf</filename> for it to exist.  See also
+          <function>gethostbyaddr</function>.
+         </simpara>
+        </note>
        </listitem>
       </varlistentry>
 



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to