Small clarification to $_SERVER.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@70260 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Torben Wilson 2002-02-14 20:43:12 +00:00
parent 64c91ae4ac
commit 5b06918113

View file

@ -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
@ -52,11 +52,6 @@ follow for this appendix. -->
information, but is not an autoglobal.
</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
@ -68,6 +63,12 @@ follow for this appendix. -->
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 @@ follow for this appendix. -->
<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.