From 146a40be75dad9449fd57937007ce9a862d4b13f Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Sun, 19 Jan 2003 01:55:43 +0000 Subject: [PATCH] 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 --- appendices/reserved.xml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/appendices/reserved.xml b/appendices/reserved.xml index b832e3a2b8..224b988f82 100755 --- a/appendices/reserved.xml +++ b/appendices/reserved.xml @@ -1,5 +1,5 @@ - + List of Reserved Words @@ -477,6 +477,25 @@ + + 'REMOTE_HOST' + + + The Host name from which the user is viewing the current + page. The reverse dns lookup is based off the + REMOTE_ADDR of the user. + + + + Your web server must be configured to create this variable. For + example in Apache you'll need HostnameLookups On + inside httpd.conf for it to exist. See also + gethostbyaddr. + + + + + 'REMOTE_PORT'