Re: [PATCH][HEAD] Upload progress in sessions
| From: | Arnaud Le Blanc | Date: | Mon, 08 Sep 2008 11:15:31 +0000 |
| Subject: | Re: [PATCH][HEAD] Upload progress in sessions | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40338@lists.php.net to get a copy of this message | ||
Hi,
On Monday 08 September 2008 13:03:11 Pierre Joye wrote:
> On Mon, Sep 8, 2008 at 12:18 PM, Arnaud Le Blanc <arnaud.lb@gmail.com>
wrote:
> > Hi,
> >
> > I have written a patch to implement upload progress feedback in session
data.
> >
> > The file upload feature in PHP allows extensions to be called back on some
> > events. A few extensions use this to implement some sort of upload
progress
> > feedback, but none of them are released with PHP, which makes this feature
> > unusable in many environments.
> >
> > The patch allows to store upload progress informations in session
variables.
> > These informations can be retrieved by an other script while the upload is
> > still in progress, allowing to provide feedback to the user.
> > Implementing this in the sessions extension makes this feature available
to
> > every one.
> > Using the session extension for this purpose also allows to use the
different
> > storage backends available.
> > I have written a RFC/documentation here:
> > http://wiki.php.net/rfc/session_upload_progress
> >
> > Any objection on committing this to HEAD ?
>
> It is indeed nice to have this feature without relying on an
> extension, however do you know that APC will be bundled in php6? As
> APC provides this feature.
Yes, but I don't think it will be enabled on shared hosting, for instance.
Also, while session data can be shared across multiple servers, APC's storage
can't.
>
> Cheers,
> --
> Pierre
> http://blog.thepimp.net |
> http://www.libgd.org
>
Regards,
Arnaud