language/predefined/variables/post.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.post" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
4
+
<refentry role="variable" xml:id="reserved.variables.post" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
5
<refnamediv>
6
6
<refname>$_POST</refname>
7
-
<refname>$HTTP_POST_VARS [deprecated]</refname>
8
7
<refpurpose>HTTP POST variables</refpurpose>
9
8
</refnamediv>
10
9
...
...
@@ -15,40 +14,6 @@
15
14
via the HTTP POST method when using <literal>application/x-www-form-urlencoded</literal>
16
15
or <literal>multipart/form-data</literal> as the HTTP Content-Type in the request.
17
16
</para>
18
-

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

26
-
</refsect1>
27
-
28
-

29
-
<refsect1 role="changelog">
30
-
&reftitle.changelog;
31
-
<para>
32
-
<informaltable>
33
-
<tgroup cols="2">
34
-
<thead>
35
-
<row>
36
-
<entry>&Version;</entry>
37
-
<entry>&Description;</entry>
38
-
</row>
39
-
</thead>
40
-
<tbody>
41
-
<row>
42
-
<entry>4.1.0</entry>
43
-
<entry>
44
-
Introduced <varname>$_POST</varname> that deprecated
45
-
<varname>$HTTP_POST_VARS</varname>.
46
-
</entry>
47
-
</row>
48
-
</tbody>
49
-
</tgroup>
50
-
</informaltable>
51
-
</para>
52
17
</refsect1>
53
18
54
19
<refsect1 role="examples">
...
...
@@ -91,7 +56,7 @@ Hello Hannes!
91
56
</para>
92
57
</refsect1>
93
58

94
-
</phpdoc:varentry>
59
+
</refentry>
95
60
96
61
<!-- Keep this comment at the end of the file
97
62
Local variables:
98
63