[php-src] Issue #13973: better error message for when upload_max_filesize is exceeded
| From: | aliber4079 | Date: | Mon, 15 Apr 2024 16:49:47 +0000 |
| Subject: | [php-src] Issue #13973: better error message for when upload_max_filesize is exceeded | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-246763@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/13973
Author: aliber4079
### Description
if there was an error message for this it would make it quicker to track down, currently uploading
files just silently fails, with the $_FILES variable containing the filename but nothing else. I set
error_reporting to E_ALL and display_errors to on but there were no related errors in the log file.
```array(1) {
["sheet"]=>
array(5) {
["name"]=>
string(8) "PIES.txt"
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(1)
["size"]=>
int(0)
}
}```