torben Thu Feb 14 15:43:13 2002 EDT
Modified files:
/phpdoc/en/appendices predefined.xml
Log:
Small clarification to $_SERVER.
Index: phpdoc/en/appendices/predefined.xml
diff -u phpdoc/en/appendices/predefined.xml:1.5 phpdoc/en/appendices/predefined.xml:1.6
--- phpdoc/en/appendices/predefined.xml:1.5 Thu Feb 14 15:27:09 2002
+++ phpdoc/en/appendices/predefined.xml Thu Feb 14 15:43:12 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- Note: Please do not link or translate this file yet.
This is only an initial update, quite a few more commits will
@@ -53,11 +53,6 @@
</simpara>
<simpara>
- Note that few, if any, of these will be available (or indeed have
- any meaning) if running PHP on the command line.
- </simpara>
-
- <simpara>
If the <link
linkend="ini.register-globals">register_globals</link> directive
is set, then these variables will also be made available in the
@@ -68,6 +63,12 @@
Globals</link>. These individual globals are not autoglobals.
</simpara>
+ <simpara>
+ 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.
+ </simpara>
+
<para>
<variablelist>
<varlistentry>
@@ -205,8 +206,8 @@
<term>'<varname>HTTP_REFERER</varname>'</term>
<listitem>
<simpara>
- 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 <varname>HTTP_REFERER</varname> as a feature. In
short, it cannot really be trusted.