Re: PHP 5.2.0: "Hooks for tracking file upload progress were introduced."
| From: | Rasmus Lerdorf | Date: | Thu, 23 Nov 2006 10:31:23 +0000 |
| Subject: | Re: PHP 5.2.0: "Hooks for tracking file upload progress were introduced." | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26706@lists.php.net to get a copy of this message | ||
They are C-level hooks. The various storage mechanisms need to add
support for them in order to expose them to userspace PHP. I added
support in pecl/apc, for example.
See:
http://progphp.com/progress.php
(pick some random file in the 200k size range)
Source at: http://progphp.com/progress.phps
Eventually we will see more extensions that manage server-side storage
with support for the hooks.
-Rasmus
Stickman wrote:
> Hi
>
> I originally posted this to the general list but received no response,
> so I thought I might have more luck here. Apologies in advance if this
> is not the appropriate place for this question.
>
> The PHP 5.2.0 release announcement
> (http://www.php.net/releases/5_2_0.php) mentions, "Hooks for tracking
> file upload progress were introduced" but no further info on how these
> 'hooks' can be used. I even checked through the results of
> get_defined_functions() and I could find no sign of anything that fit
> the bill.
>
> Any pointers would be appreciated.
>
> Cheers,
>
> Stickman
>