From:             krudtaa at yahoo dot com
Operating system: All
PHP version:      5.2.0
PHP Bug Type:     Feature/Change Request
Bug description:  Want to optionally handle apc_upload_progress variables using 
session variables

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 bug report at http://bugs.php.net/?id=39447&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=39447&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=39447&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=39447&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=39447&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=39447&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=39447&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=39447&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=39447&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=39447&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=39447&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=39447&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=39447&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=39447&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39447&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=39447&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=39447&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=39447&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39447&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=39447&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=39447&r=mysqlcfg

Reply via email to