Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13729 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73479 invoked by uid 1010); 5 Nov 2004 10:44:19 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 69966 invoked from network); 5 Nov 2004 10:43:12 -0000 Received: from unknown (HELO malcolm.ailis.de) (217.115.149.166) by pb1.pair.com with SMTP; 5 Nov 2004 10:43:12 -0000 Received: (qmail 18431 invoked by uid 64014); 5 Nov 2004 10:43:19 -0000 Received: from unknown (HELO ?172.16.0.1?) (k@62.206.245.30) by malcolm.ailis.de with SMTP; 5 Nov 2004 10:43:18 -0000 Message-ID: <418B5929.30709@ailis.de> Date: Fri, 05 Nov 2004 11:42:49 +0100 User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marcus Boerger CC: internals@lists.php.net References: <418B4909.7010203@ailis.de> <255444644.20041105104900@marcus-boerger.de> <418B4FF6.4020503@ailis.de> <1306684207.20041105111518@marcus-boerger.de> In-Reply-To: <1306684207.20041105111518@marcus-boerger.de> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS 0.3.12 Subject: Re: [PHP-DEV] Upload Progress Meter Patch From: k-php-dev@ailis.de (Klaus Reimer) 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?