This is a really frustrating and bizarre aspect of PHP code. Some say that this is a rather messy design, but hey, this is a problem that can be easily avoided - and, in any case, this is only to confirm how important UI design and data transfer are.
With forms that must exceed the ini settings (file uploads, lots of text, etc.). I always load things asynchronously into the tmp directory, which is cleaned daily. If the form is completed (now devoid of a large amount of its data), the files are transferred to permanent places.
You can always check if something went different by running the form processing method with something like:
if(empty($_POST)) {
source share