Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40332 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99731 invoked from network); 8 Sep 2008 10:18:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Sep 2008 10:18:21 -0000 Authentication-Results: pb1.pair.com smtp.mail=arnaud.lb@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=arnaud.lb@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.134.188 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: 209.85.134.188 mu-out-0910.google.com Received: from [209.85.134.188] ([209.85.134.188:54691] helo=mu-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DF/77-58883-BEBF4C84 for ; Mon, 08 Sep 2008 06:18:20 -0400 Received: by mu-out-0910.google.com with SMTP id i2so1309821mue.3 for ; Mon, 08 Sep 2008 03:18:16 -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:mime-version:content-type:content-transfer-encoding :content-disposition:message-id; bh=CxU+AaCTMkNNAB8M/1sdMoAnrLqY0zdqDHZe1OBkgBk=; b=kEMkPAKcC1sawW/TPt4WPoONduLaEhr1XErNAWcaOhoQ5dMcJsAm8n7XCuMxoehWqm +j7vhoPMM5RZ2sSKS9Q1Ef1XzBCAJ4DlrVwE7+3EtZsUvc2215ppRP0kXDLbrR6+zlAd q5s3dS5jARXUNFgmVOoSjC144D8ba9d1x2k2w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; b=I41UhQlw8GtH04WQo/2jPYKjUmA11Y5RgQz8mH/wg5xepnf3DptFRN4OXWSechpA4o xm6CzbWcdUU4NSMAsgd5rwHxKHaZixgTviIQLX9iDErKZl0YECJQwMJpb6Q0zyk9cfQG cmYwe4JotBXn7aaZmU1HyTnFv0sknyP7qtfjU= Received: by 10.103.114.14 with SMTP id r14mr10043592mum.120.1220869096778; Mon, 08 Sep 2008 03:18:16 -0700 (PDT) Received: from 207-177-41-213.getmyip.com ( [213.41.177.207]) by mx.google.com with ESMTPS id s10sm5757252muh.12.2008.09.08.03.18.14 (version=SSLv3 cipher=RC4-MD5); Mon, 08 Sep 2008 03:18:15 -0700 (PDT) To: "php internals" Date: Mon, 8 Sep 2008 12:18:02 +0200 User-Agent: KMail/1.10.0 (Linux/2.6.26-1-amd64; KDE/4.1.0; x86_64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200809081218.02471.arnaud.lb@gmail.com> Subject: [PATCH][HEAD] Upload progress in sessions From: arnaud.lb@gmail.com (Arnaud Le Blanc) 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 ? Regards, Arnaud