Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40336 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19795 invoked from network); 8 Sep 2008 11:03:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Sep 2008 11:03:15 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.233 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.198.233 rv-out-0506.google.com Received: from [209.85.198.233] ([209.85.198.233:5876] helo=rv-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 26/EB-58883-27605C84 for ; Mon, 08 Sep 2008 07:03:14 -0400 Received: by rv-out-0506.google.com with SMTP id g37so1337892rvb.23 for ; Mon, 08 Sep 2008 04:03:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=MU5Vk7BZ7J4emYyhsw+yLxyA62vakLiSZPNWvt8RqtI=; b=eQH6fLu5GlAliSl48L/foTTOznfHa8V7kah8gz84+qf5LcSqJTMvNjEphR/9WIuYzm bmtmEXXo6RHM2ltVU+ZRsKFIsk0e+GCiyHDbMy7D/SB9tkZHfvbvuAjs5HZ4ESwKb3QT pzR7qQBey38c6yL8z6QYa7H96C8pEwPKdnNSE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=E8vyDjZYsPfohZeqzOPunBZzRdnFDO3Rv1xHCvRnSXePE4OmGjyUYIqRQdX7oYDvYE sSK97Xm/0MN/kt+SP+9tHIgBUFg1kT7GTZ+UtMb9jcCloHWRQ/yLDUEw3SfojRLaqRdS 5lEcdIb4nk0rXXjpetliw/oc04Z55215tuG9k= Received: by 10.140.125.1 with SMTP id x1mr8723094rvc.217.1220871792059; Mon, 08 Sep 2008 04:03:12 -0700 (PDT) Received: by 10.140.178.14 with HTTP; Mon, 8 Sep 2008 04:03:11 -0700 (PDT) Message-ID: Date: Mon, 8 Sep 2008 13:03:11 +0200 To: "Arnaud Le Blanc" Cc: "php internals" In-Reply-To: <200809081218.02471.arnaud.lb@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200809081218.02471.arnaud.lb@gmail.com> Subject: Re: [PHP-DEV] [PATCH][HEAD] Upload progress in sessions From: pierre.php@gmail.com ("Pierre Joye") On Mon, Sep 8, 2008 at 12:18 PM, Arnaud Le Blanc 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. Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org