mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Documented REMOTE_HOST and note when it's available. Closes bug #17713
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@112629 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
fe8f7fadc6
commit
146a40be75
1 changed files with 20 additions and 1 deletions
|
@ -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>
|
||||
|
@ -477,6 +477,25 @@
|
|||
</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>
|
||||
|
||||
<varlistentry>
|
||||
<term>'<varname>REMOTE_PORT</varname>'</term>
|
||||
<listitem>
|
||||
|
|
Loading…
Reference in a new issue