Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13730 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20666 invoked by uid 1010); 5 Nov 2004 10:54:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 20641 invoked from network); 5 Nov 2004 10:54:34 -0000 Received: from unknown (HELO jan.prima.de) (83.97.50.139) by pb1.pair.com with SMTP; 5 Nov 2004 10:54:34 -0000 Received: from BAUMBART (p508EBF63.dip.t-dialin.net [::ffff:80.142.191.99]) (IDENT: HydraIRC, AUTH: LOGIN tobi) by jan.prima.de with esmtp; Fri, 05 Nov 2004 10:53:01 +0000 Date: Fri, 5 Nov 2004 11:54:30 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <378544.20041105115430@marcus-boerger.de> To: Klaus Reimer CC: internals@lists.php.net In-Reply-To: <418B5929.30709@ailis.de> References: <418B4909.7010203@ailis.de> <255444644.20041105104900@marcus-boerger.de> <418B4FF6.4020503@ailis.de> <1306684207.20041105111518@marcus-boerger.de> <418B5929.30709@ailis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Upload Progress Meter Patch From: helly@php.net (Marcus Boerger) Hello Klaus, Friday, November 5, 2004, 11:42:49 AM, you wrote: > Marcus Boerger wrote: >> Thinking about it another time you're right. So what the patch offers is >> all we can do. However having the session id available somehow would make >> the the patch usefull. > I have some ideas for this. It may even be possible to remove the > UPLOAD_IDENTIFIER-stuff from the patch and move it to the PHP extension. > This would make the patch more independant. The author of the PHP > extension can decide how this variable is named and how it is transmitted. > If nobody has already a working solution I can give it a try this weekend. > But one question stays: Let's say that the PHP extension now knows the > PHP session ID during progress tracking (because it was passed like the > UPLOAD_IDENTIFIER via a POST variable BEFORE the uploaded files). What > can the extension do with it? Is it possible for this PHP extension to > open the session, update variables in it, and close it again? Or is the > stage in which the callback is called to early for doing so? Doesn't matter. If it is to late you simply do it with some SQL. -- Best regards, Marcus mailto:helly@php.net