ID: 33143 Updated by: [EMAIL PROTECTED] Reported By: webnerd at comcast dot net -Status: Feedback +Status: Bogus Bug Type: HTTP related Operating System: RedHat Linux 2.6.9 Apache 2 PHP Version: 4.3.11 New Comment:
On second thought: This is not PHP bug. Previous Comments: ------------------------------------------------------------------------ [2005-05-25 23:59:35] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip ------------------------------------------------------------------------ [2005-05-25 22:12:41] webnerd at comcast dot net Description: ------------ Server still tries to upload files larger than MAX_FILE_SIZE when submitted through form. display_errors is turned off but the error log shows within seconds of attempt: PHP Warning: MAX_FILE_SIZE of 1000 bytes exceeded but browser window does not stop trying to load the file. This is been tested in IE and Firefox with the same results. Reproduce code: --------------- To reproduce, please check the following URL: http://www.kyouradio.com/tmpup/progressbartest.php Expected result: ---------------- Upon submitting a file, a window will popup that will immediately resize to show a status-bar effect. The new window then issues a Javascript command to change the MAX_FILE_SIZE value to 60MB and then forces the main form to submit. The "popup" window performs as an upload progress bar. Actual result: -------------- Once clicking submit, the new window opens but "hangs" while the server tries to parse the file input, however, the following shows up in the error log: PHP Warning: MAX_FILE_SIZE of 1000 bytes exceeded The new window eventually resizes but the timing between the POST and the resize tells me that the server has not stopped trying to process the upload to the popup window. Which in turn, results in 2 upload attempts of really large files. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33143&edit=1
