|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-09-28 12:01 UTC] pierre dot php at gmail dot com
[2008-09-28 13:51 UTC] gopalv82 at yahoo dot com
[2016-08-31 15:06 UTC] cmb@php.net
-Status: Open
+Status: Wont fix
-Assigned To:
+Assigned To: cmb
[2016-08-31 15:06 UTC] cmb@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 04:00:02 2025 UTC |
Description: ------------ I'm using latest version of APC for win32 to get upload progress. All is good, Thanks for it's developers. But: when I'm uploading a file, progress is good and show's total size, uploaded size and start time. when i open new browser window and attemp to upload another file( when the first file is uploading yet ) all the things is wrong. first file statistics will freeze and second file will show wrong statistics: -- total size: 11165814 bytes -- current : 949774611244 bytes (uploaded bytes from first file plus second file sizes!!!) note that i change progress_key every time, but anythings is wrong. -System software: I'm using Win XP Apache 2 PHP 5.2.5 php_apc.dll 3.0.17-dev --- -system hardware: One Pentium 4 cpu 768MB (256MB + 512MB) Ram Reproduce code: --------------- form.php: --- $id = md5(rand(0, 99999).' '.rand(0,99999)); --- <input type="hidden" name="APC_UPLOAD_PROGRESS" --- id="progress_key" value="<?=$id?>"> --- <input type="file" id="file" name="file"><br> progress.php: --- $id = $_GET['progress_key']; // get key from address --- $status = apc_fetch('upload_'.$id); // file info --- print_r($status); // show file info php.ini variables set: --- [apc] --- apc.rfc1867 = On Expected result: ---------------- stop statistics for first file and show wrong information for second file when we are uploading both in one time.