Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40338 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27021 invoked from network); 8 Sep 2008 11:15:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Sep 2008 11:15:39 -0000 Authentication-Results: pb1.pair.com header.from=arnaud.lb@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=arnaud.lb@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.44.30 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: arnaud.lb@gmail.com X-Host-Fingerprint: 74.125.44.30 yx-out-2324.google.com Received: from [74.125.44.30] ([74.125.44.30:48921] helo=yx-out-2324.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/8D-58883-A5905C84 for ; Mon, 08 Sep 2008 07:15:38 -0400 Received: by yx-out-2324.google.com with SMTP id 3so823189yxj.83 for ; Mon, 08 Sep 2008 04:15:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=YJqyGRW9hvY+qHKROMqMG4Nb6f8W8IXjo2lYegUiNok=; b=sx9WtQhNyq86t4zcrsanFZ+v4h38HIbR7govBeHgZm9s/ssRsLhZxkZplKRquUrrHZ K5wjDOpzVSFAdmwBaWR2PtXp6aE16V8tI9BQleyLGLxJCHnpQCToDuZf37fzU3/ochAx N/1OXBwOepPKYRWLMVi9dgsgvwpCQFItfe64U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=WQjflEuZ8kafMwCmgg6TurBOG/8I5kkxtCdZF/IluQNwfkXqIssY9tsUyuHaTsQKE9 sH7PIbRMo0yPIzS1jAidfSQIt/3RnpRGlOG4ToMpCwLPj9Pv1r9Ivhm/4GhKLG64v0Xz ON8FHQJVdqly8ASVIG+oRPZAp5Hfr7TnYksXQ= Received: by 10.103.192.10 with SMTP id u10mr10125098mup.29.1220872535197; Mon, 08 Sep 2008 04:15:35 -0700 (PDT) Received: from 207-177-41-213.getmyip.com ( [213.41.177.207]) by mx.google.com with ESMTPS id s10sm5883714muh.12.2008.09.08.04.15.33 (version=SSLv3 cipher=RC4-MD5); Mon, 08 Sep 2008 04:15:34 -0700 (PDT) To: "Pierre Joye" Date: Mon, 8 Sep 2008 13:15:31 +0200 User-Agent: KMail/1.10.0 (Linux/2.6.26-1-amd64; KDE/4.1.0; x86_64; ; ) Cc: "php internals" References: <200809081218.02471.arnaud.lb@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200809081315.31661.arnaud.lb@gmail.com> Subject: Re: [PHP-DEV] [PATCH][HEAD] Upload progress in sessions From: arnaud.lb@gmail.com (Arnaud Le Blanc) Hi, On Monday 08 September 2008 13:03:11 Pierre Joye wrote: > 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. Yes, but I don't think it will be enabled on shared hosting, for instance. Also, while session data can be shared across multiple servers, APC's storage can't. > > Cheers, > -- > Pierre > http://blog.thepimp.net | http://www.libgd.org > Regards, Arnaud