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
> 

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to