language/predefined/variables/files.xml
a6d209f4ff71ccba3f1255902827f5df3e092ff9
...
...
@@ -1,10 +1,9 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
3

4
-
<phpdoc:varentry xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="reserved.variables.files" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
4
+
<refentry role="variable" xml:id="reserved.variables.files" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
5
<refnamediv>
6
6
<refname>$_FILES</refname>
7
-
<refname>$HTTP_POST_FILES [deprecated]</refname>
8
7
<refpurpose>HTTP File Upload variables</refpurpose>
9
8
</refnamediv>
10
9
...
...
@@ -12,41 +11,9 @@
12
11
&reftitle.description;
13
12
<para>
14
13
An associative <type>array</type> of items uploaded to the current script
15
-
via the HTTP POST method.
16
-
</para>
17
-

18
-
<simpara>
19
-
<varname>$HTTP_POST_FILES</varname> contains the same initial
20
-
information, but is not a <link linkend="language.variables.superglobals">superglobal</link>.
21
-
(Note that <varname>$HTTP_POST_FILES</varname> and <varname>$_FILES</varname>
22
-
are different variables and that PHP handles them as such)
23
-
</simpara>
24
-

25
-
</refsect1>
26
-
27
-

28
-
<refsect1 role="changelog">
29
-
&reftitle.changelog;
30
-
<para>
31
-
<informaltable>
32
-
<tgroup cols="2">
33
-
<thead>
34
-
<row>
35
-
<entry>&Version;</entry>
36
-
<entry>&Description;</entry>
37
-
</row>
38
-
</thead>
39
-
<tbody>
40
-
<row>
41
-
<entry>4.1.0</entry>
42
-
<entry>
43
-
Introduced <varname>$_FILES</varname> that deprecated
44
-
<varname>$HTTP_POST_FILES</varname>.
45
-
</entry>
46
-
</row>
47
-
</tbody>
48
-
</tgroup>
49
-
</informaltable>
14
+
via the HTTP POST method. The structure of this array is outlined in the
15
+
<link linkend="features.file-upload.post-method">POST method uploads</link>
16
+
section.
50
17
</para>
51
18
</refsect1>
52
19
...
...
@@ -65,7 +32,7 @@
65
32
</para>
66
33
</refsect1>
67
34

68
-
</phpdoc:varentry>
35
+
</refentry>
69
36
70
37
<!-- Keep this comment at the end of the file
71
38
Local variables:
72
39