From 5b06918113e700e56b29688acb1f8260695041f3 Mon Sep 17 00:00:00 2001 From: Torben Wilson Date: Thu, 14 Feb 2002 20:43:12 +0000 Subject: [PATCH] Small clarification to $_SERVER. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@70260 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/predefined.xml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/appendices/predefined.xml b/appendices/predefined.xml index 1c2f4680c2..89e8a0491f 100644 --- a/appendices/predefined.xml +++ b/appendices/predefined.xml @@ -1,5 +1,5 @@ - + information, but is not an autoglobal. - - Note that few, if any, of these will be available (or indeed have - any meaning) if running PHP on the command line. - - If the register_globals directive @@ -68,6 +63,12 @@ follow for this appendix. --> Globals. These individual globals are not autoglobals. + + You may or may not find any of the following elements in + $_SERVER. Note that few, if any, of these will be available (or + indeed have any meaning) if running PHP on the command line. + + @@ -205,8 +206,8 @@ follow for this appendix. --> 'HTTP_REFERER' - The address of the page (if any) which referred the browser - to the current page. This is set by the user agent. Not + The address of the page (if any) which referred the user + agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted.