Ask a Question related to PHP Bugs, Design and Development.
-
krudtaa at yahoo dot com #1
#39447 [NEW]: Want to optionally handle apc_upload_progress variables using session variables
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 [url]http://bugs.php.net/?id=39447&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=39447&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=39447&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=39447&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=39447&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=39447&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=39447&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=39447&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=39447&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=39447&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=39447&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=39447&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=39447&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=39447&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=39447&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=39447&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=39447&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=39447&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=39447&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=39447&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=39447&r=mysqlcfg[/url]
krudtaa at yahoo dot com Guest
-
#39833 [NEW]: Session variables overwritten by local variables (register_globals=off)
From: sup1382 at accedo dot es Operating system: OpenBSD 3.9 PHP version: 5.2.0 PHP Bug Type: Session related Bug... -
JRun fails to handle client variables in DB over 8K
We are in the process of upgrading from CF 4.5 to CF MX 7. Our application uses client variables, which are configured to be stored in a SQL... -
How to handle numeric variables in sh?
Here's a code snippet of a script I use often to number a bunch of pics in a directory that I think shows how to do what you want to do: ... -
how to handle 64 bit variables on 32 bit machines ?
Hi, I'd like to use the ruby/dl library to access function in a C library from ruby. Now these functions take 64 bit parameters und my machine... -
variables that change session variables
Hi, I'm currently writing a mulit-page form app that uses a session to retain data from each form element in order for the user to jump between... -
rasmus@php.net #2
#39447 [Opn->Bgs]: Want to optionally handle apc_upload_progress variables using session variables
ID: 39447
Updated by: [email]rasmus@php.net[/email]
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 [url]http://bugs.php.net/?id=39447&edit=1[/url]
rasmus@php.net Guest



Reply With Quote

