Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26707 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44535 invoked by uid 1010); 23 Nov 2006 10:45:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 44520 invoked from network); 23 Nov 2006 10:45:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Nov 2006 10:45:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=phpinternals@the-stickman.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=phpinternals@the-stickman.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain the-stickman.com from 70.85.217.130 cause and error) X-PHP-List-Original-Sender: phpinternals@the-stickman.com X-Host-Fingerprint: 70.85.217.130 chi.asmallorange.com Received: from [70.85.217.130] ([70.85.217.130:45252] helo=chi.asmallorange.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 99/22-27591-7CB75654 for ; Thu, 23 Nov 2006 05:45:28 -0500 Received: from [82.152.82.150] (port=1907 helo=[192.168.0.144]) by chi.asmallorange.com with esmtpa (Exim 4.52) id 1GnC4n-0001Qt-OQ for internals@lists.php.net; Thu, 23 Nov 2006 05:45:06 -0500 Message-ID: <45657BB6.5020404@the-stickman.com> Date: Thu, 23 Nov 2006 10:45:10 +0000 User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: internals@lists.php.net References: <45657234.2070000@the-stickman.com> <4565787B.4020405@lerdorf.com> In-Reply-To: <4565787B.4020405@lerdorf.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - chi.asmallorange.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - the-stickman.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] PHP 5.2.0: "Hooks for tracking file upload progress were introduced." From: phpinternals@the-stickman.com (Stickman) Thanks for the reply. After submitting the question I came across this page http://blog.bitflux.ch/archive/2006/09/28/ (linked from the PHP docs of course -- must update my local help file!) with an early patch that makes use of these new hooks. However, I suspect we'll wait until something more 'official' comes along (we don't currently use APC, although I'm working on changing that). Thanks again for your help. Stickman > 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 >> >> > > >