ID:               39447
 Updated by:       [EMAIL PROTECTED]
 Reported By:      krudtaa at yahoo dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: All
 PHP Version:      5.2.0
 New Comment:

You are slightly confused here.  What PHP 5.2 provides is a set of
hooks that the various storage modules can hook into.  It in no way
calls anything in APC.  It just so happens that APC was the first
extension to add support for those hooks.  The various other extensions
that are capable of storing data each need to add support for these
hooks.


Previous Comments:
------------------------------------------------------------------------

[2006-11-09 11:38:59] krudtaa at yahoo dot com

Description:
------------
The arrival of the new features related to the
apc_upload_progress is really cool.

There is one not so cool thing with it though....
one have to have APC installed to make use of it...
unless I have missed something that is

I'm not much into the source code of PHP or APC but I guess
that it is the PHP 5.2 source that creates a new
object in APC when uploading starts, as well as updating that objects
properties (or whatever) like total, current etc...

Would be nice to, optionally, be able to access those values based on
session variables.
Probably better based on session variable + unique_id and should live
as long as the script that initiated it lives.

So what I would like to see is some variable in php.ini
where I can tell the upload stuff in php to update
session variables instead of an object in the APC cache.

This way it would be usable to more users of PHP, since
not all want to use APC.

If my assumption is correct, that the PHP 5.2 source creates and
updates the upload variables: total, current etc,
then this should be doable.

Even if APC will be included in PHP 6 then still not all want to use
the APC module.

I do not see any reason at all that I would want to have to use a PECL
extension to make this work.
This should really be in the core of PHP.

Can you developers please do this ASAP.

and if you will not do it, then why?

Keep up the good work!




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39447&edit=1

Reply via email to