php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59102 WinCache needs to support File Upload Progress hook handler
Submitted: 2010-03-08 13:58 UTC Modified: 2010-04-26 16:50 UTC
From: ruslany@php.net Assigned:
Status: Wont fix Package: WinCache (PECL)
PHP Version: 5.2.13 OS: Windows 7
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-03-08 13:58 UTC] ruslany@php.net
Description:
------------
APC has a feature that allows users to store file upload progress in object cache (http://www.php.net/manual/en/apc.configuration.php#ini.apc.rfc1867). There is no equivalent feature on Windows today. Now that WinCache 1.1.0 has support for user cache, it will be useful to add support for this feature.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-08 13:59 UTC] ruslany at microsoft dot com
Changed to feature request
 [2010-03-15 13:32 UTC] ksingla at microsoft dot com
From David Timothy Strauss - "It would be better to just support the PECL extension that allows tracking more than one upload (unlike APC) under RFC 1867."
 [2010-04-26 16:50 UTC] don dot raman at microsoft dot com
Thank you for taking the time to write to us, but this is not
a bug.

There is already a PHP extension called uploadprogress available at http://pecl.php.net/package/uploadprogress. This extension supports multiple file uploads and I have tested it and it works fine on Windows.

The extension can be compiled itself, it comes with a Visual Studio Project file or can be downloaded from http://dowloads.php.net/pierre. The download is available for all variants (PHP 5.2/PHP 5.3) (NTS/TS). It is pretty easy to setup and work. Please ensure that two INI directives named uploadprogress.file.contents_template and uploadprogress.file.filename_template are set properly and web server has write access to these files. The auto-detection logic is hard coded to use /tmp directory which may not exist on Windows.

For now (since we have another extension available) I am closing this as Won't Fix.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Jul 23 22:01:28 2019 UTC