Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26706 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39896 invoked by uid 1010); 23 Nov 2006 10:31:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 39881 invoked from network); 23 Nov 2006 10:31:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Nov 2006 10:31:32 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 204.11.219.139 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.5 (sometimes 2.4) (4) Received: from [204.11.219.139] ([204.11.219.139:41030] helo=lerdorf.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B3/A1-27591-08875654 for ; Thu, 23 Nov 2006 05:31:32 -0500 Received: from [10.59.1.6] (dsl-KK-static-057.203.95.61.airtelbroadband.in [61.95.203.57] (may be forged)) (authenticated bits=0) by lerdorf.com (8.13.8/8.13.8/Debian-2) with ESMTP id kANAVNxq017853; Thu, 23 Nov 2006 02:31:24 -0800 Message-ID: <4565787B.4020405@lerdorf.com> Date: Thu, 23 Nov 2006 16:01:23 +0530 User-Agent: Thunderbird 1.5.0.8 (Macintosh/20061025) MIME-Version: 1.0 To: Stickman CC: internals@lists.php.net References: <45657234.2070000@the-stickman.com> In-Reply-To: <45657234.2070000@the-stickman.com> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP 5.2.0: "Hooks for tracking file upload progress were introduced." From: rasmus@lerdorf.com (Rasmus Lerdorf) 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 >