php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59175 Upload tracking failing for large forms
Submitted: 2010-04-23 08:20 UTC Modified: 2016-11-18 21:53 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: lfaith at optikgraphics dot com Assigned:
Status: Wont fix Package: APC (PECL)
PHP Version: 5.2.6 OS: Centos
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: lfaith at optikgraphics dot com
New email:
PHP Version: OS:

 

 [2010-04-23 08:20 UTC] lfaith at optikgraphics dot com
Description:
------------
APC is installed and working and I am using it for file 
upload progress.

I was having no problems until I increased the size of the 
file upload form to include more text input fields.

After some testing I have found that if I have a form with 
one file input followed by a series of text input fields the 
number of text fields effects the performance of APC upload 
tracking.

I have determined that the limit is 53 text fields, any more 
than that and upload progress never completes. Interestingly 
as more are added above 53, less and less of the progress is 
completed. This suggest APC is some how confusing the size 
of the POST data array with the size of the file being 
uploaded.

In testing a fix is to move the hidden APC field below the 
53 text fields along with the file input field, in this case 
the number of text fields is ignored at the progress works 
normally however this is not a workable solution on all 
forms.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-11-18 21:53 UTC] kalle@php.net
-Status: Open +Status: Wont fix
 [2016-11-18 21:53 UTC] kalle@php.net
APC is no longer supported in favor of opcache that comes bundled with PHP, if you wish to use the user cache, then look at PECL/APCu.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 11:01:29 2024 UTC