#39427 [Opn->Bgs]: cancel_upload parameter get wrong value when using multi field upload form
| From: | tony2001@php.net | Date: | Wed, 08 Nov 2006 19:14:42 +0000 |
| Subject: | #39427 [Opn->Bgs]: cancel_upload parameter get wrong value when using multi field upload form | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-104647@lists.php.net to get a copy of this message | ||
ID: 39427
Updated by: tony2001@php.net
Reported By: krudtaa at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: HTTP related
Operating System: Windows XP Pro
PHP Version: 5.2.0
New Comment:
Duplicate of http://pecl.php.net/bugs/bug.php?id=9263, Gopal
said he'll
take care of it.
Previous Comments:
------------------------------------------------------------------------
[2006-11-08 09:01:14] krudtaa at yahoo dot com
Description:
------------
When using the new APC_UPLOAD_PROGRESS feature and
if you make a multi file upload_form and do not fill out all of the
file fields then the
cancel_upload parameter get a value of 4 and the the whole upload is
reported as:
Cancelled after 109300234 bytes
even if the upload actually was a success.
Reproduce code:
---------------
Download this source:
http://progphp.com/progress.phps
which I found at:
http://talks.php.net/show/torkey06/24
then change the upload_form so it have more than one upload
field.
I entered three fields like this:
<input type="file" name="test_file[]"/><br/>
<input type="file" name="test_file[]"/><br/>
<input type="file" name="test_file[]"/><br/>
Expected result:
----------------
I would like to see PHP, or the APC extension (do not know which one
causes the error) not raise any errors when some of the file fields are
not filled out.
Actual result:
--------------
cancel_upload parameter should get value of 0 and not 4.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39427&edit=1