So $_GET will also be empty ?
Mehdi
Jakub Vrana wrote:
vrana Thu Mar 31 04:59:47 2005 EDT
Modified files: /phpdoc/en/appendices ini.xml Log:
What happens if post_max_size is exceeded (bug #31775)
http://cvs.php.net/diff.php/phpdoc/en/appendices/ini.xml?r1=1.16&r2=1.17&ty=u
Index: phpdoc/en/appendices/ini.xml
diff -u phpdoc/en/appendices/ini.xml:1.16 phpdoc/en/appendices/ini.xml:1.17
--- phpdoc/en/appendices/ini.xml:1.16 Sat Mar 26 08:22:29 2005
+++ phpdoc/en/appendices/ini.xml Thu Mar 31 04:59:45 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.16 $ -->
+<!-- $Revision: 1.17 $ -->
<appendix id="ini">
<title>&php.ini; directives</title>
@@ -2713,6 +2713,13 @@
&ini.shorthandbytes;
+ <simpara>
+ If the size of post data is greater than post_max_size, $_POST and
+ $_FILES arrays are empty. You can track this condition various ways,
+ e.g. by passing $_GET variable to the script processing the data,
+ i.e. <literal><form action="edit.php?processed=1"></literal>
+ and cheching this variable.
+ </simpara>
</listitem>
</varlistentry>