From 5cfdb8492366dc7247cfcade4e38659cdbafae6f Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 31 Mar 2005 09:59:45 +0000 Subject: [PATCH] What happens if post_max_size is exceeded (bug #31775) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@183255 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/ini.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/appendices/ini.xml b/appendices/ini.xml index 8a9afcaa45..35edbd5419 100644 --- a/appendices/ini.xml +++ b/appendices/ini.xml @@ -1,5 +1,5 @@ - + &php.ini; directives @@ -2713,6 +2713,13 @@ &ini.shorthandbytes; + + 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. <form action="edit.php?processed=1"> + and cheching this variable. +