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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
20 - 7 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 16:01:27 2024 UTC