Req #39447 [Opn->Wfx]: Want to optionally handle apc_upload_progress variables using session variables
| From: | cmb@php.net | Date: | Fri, 28 May 2021 14:28:18 +0000 |
| Subject: | Req #39447 [Opn->Wfx]: Want to optionally handle apc_upload_progress variables using session variables | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-234073@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=39447&edit=1
ID: 39447
Updated by: cmb@php.net
Reported by: krudtaa at yahoo dot com
Summary: Want to optionally handle apc_upload_progress
variables using session variables
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
-Package: Feature/Change Request
+Package: *General Issues
Operating System: All
PHP Version: 5.2.0
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
> Does anybody know if somebody are working on this or not?
Apparently not, and rightly so. If you still feel strongly that
this should be added to the core, pursue the RFC process[1].
[1] <https://wiki.php.net/rfc/howto>
Previous Comments:
------------------------------------------------------------------------
[2008-06-28 13:55:21] krudtaa at yahoo dot com
Hi PHP developers.
Does anybody know if somebody are working on this or not?
If not, how long (hours) would it take to develop a solution where one
could use session variables with the upload hooks, so one does not have to install APC to make it
work?
If anybody are interested I might want to pay dollars ($$$$) to make this happen to the developer
that do it.
------------------------------------------------------------------------
[2007-10-02 18:37:10] brandon at invisionpower dot com
I'm inclined to agree with the request, actually.
The hooks are great. It's also great that APC provides a way to use them - but what about the
thousands (millions?) of users on shared hosting who don't have control over their operating
environment.
One of my (many) projects that I'm a part of is a download management system, and of course as
you can imagine an upload progress meter is among the top requested features. I've just
implemented one for our next release utilizing APC, but I fear the number of users who will be able
to actually utilize it are relatively low.
It would be nice to see some sort of functionality within PHP itself (without the need for any
extensions) to be able to utilize the hooks.
------------------------------------------------------------------------
[2007-06-01 09:48:01] krudtaa at yahoo dot com
Okay....
More specific request here:
I would like to be able to use the upload hooks with other storage module(s) than APC.
A storage module that are more commonly included in PHP installations than APC.
I would like to see support for the upload hooks in these modules:
-Files module
...and when that works, then why not also make it work against the
-mm module
Maybe, in near future, we can be able to reference a session variable
in order to read the status from the upload!
So, is there any PHP developer that will make sure this is done?
And when can we expect to see it implemented?
This year, next year, 5 years, ?....
------------------------------------------------------------------------
[2007-05-29 07:49:42] krudtaa at yahoo dot com
Using the word native was probably a miss...
I try one more time:
What I ment by native was this:
Making it possible to use the new upload hooks without having
to include extensions.
Example:
www.domeneshop.no offers usage of php.
BUT THEY DO NOT OFFER USAGE OF APC, as well as many other.
My point was that by incorporationg a method to use the new upload hooks without having to rely on
some extensions that MANY do not
include in their PHP installation, then many many more users of PHP could actually make use of the
new (and VERY practical) upload hooks.
And I suggested a way to make it work....
By using session variable to store the data regarding the upload progress, which would be accessible
for practically all the PHP installations around (version dependant though).
If you developers do not see this point .... then huhhh
... I give up.
Why not make it as easy as possible for the users of PHP to be
able to use the upload hooks, is beyond me.
So come on, let the upload hooks be accessible as it is today, with the usage of extensions like
APC....
AND also by using a SESSION variable
And at last...
If you developers are not willing to do this,
what is your motivation for NOT doing it?
Do you not want most users of PHP to be able to use the new upload hooks?
What matters in the end, at least for me, is what I can offer my end-users.
And beeing able to easily offer them a way to actually see in "real-time" the progress of
the upload is a huge step in the right
direction.
But as it is now, it is just for the few "lucky" ones that are able to make use of APC....
I'm a little confused that there is so little interest in making these new upload hooks more
accessible!!!
Regards
------------------------------------------------------------------------
[2007-05-28 20:29:43] tony2001@php.net
>Is there any plans to support upload progress natively in PHP?
Extensions are native to PHP.
>The hooks are there, why not make it possible to use them
>without any extensions?
"Why not to make _everything_ possible without any extensions?"
Because it does not make sense.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=39447
--
Edit this bug report at https://bugs.php.net/bug.php?id=39447&edit=1