ID: 34416 Updated by: [EMAIL PROTECTED] Reported By: a dot schilder at gmx dot net -Status: Open +Status: Bogus Bug Type: HTTP related Operating System: Windows XP SP2 PHP Version: 5.1.0RC1 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2005-09-07 23:25:05] a dot schilder at gmx dot net Description: ------------ I'm working on a simple file upload form, which works fine for small files. Then I tried to upload files larger than 'upload_max_filesize' (set to 10M) with a file about 21MB to test the error codes in $_FILES['fieldname']['error']. When submitting the form, the $_POST and $_FILES arrays are empty, although there are other post data in the form (e.g. the session - but I switch to cookies, so I could test it). It doesn't make a difference which file type I choose or if I add the hidden MAX_FILE_SIZE field or not. More info: There is no error in the apache logfiles. 'file_uploads' is 'On' 'post_max_size' is '10M' Reproduce code: --------------- A form similar to the one I use: <form action="photo.php" method="POST" enctype="multipart/form-data" accept-charset="UTF-8"> <input type="file" name="photo_file" /> <input type="hidden" name="some_post_data" /> <input type="submit" /> </form> Expected result: ---------------- Date in the $_POST array and the $_FILES array, including the correct error code. Actual result: -------------- Empty $_POST and $_FILES arrays. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34416&edit=1
