Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13738 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9364 invoked by uid 1010); 5 Nov 2004 19:05:05 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 5987 invoked from network); 5 Nov 2004 19:04:29 -0000 Received: from unknown (HELO malcolm.ailis.de) (217.115.149.166) by pb1.pair.com with SMTP; 5 Nov 2004 19:04:29 -0000 Received: (qmail 25382 invoked by uid 64014); 5 Nov 2004 19:04:36 -0000 Received: from pd9e14e71.dip.t-dialin.net (HELO ?192.168.36.101?) (k@217.225.78.113) by malcolm.ailis.de with SMTP; 5 Nov 2004 19:04:35 -0000 Message-ID: <418BCEA0.9060604@ailis.de> Date: Fri, 05 Nov 2004 20:04:00 +0100 User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net References: <418B4909.7010203@ailis.de> <255444644.20041105104900@marcus-boerger.de> <418B4FF6.4020503@ailis.de> <1306684207.20041105111518@marcus-boerger.de> <418B5929.30709@ailis.de> <20041105174245.GT31167@bagend.shire> <418BC266.3060502@ailis.de> <20041105183910.GU31167@bagend.shire> In-Reply-To: <20041105183910.GU31167@bagend.shire> 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) Curt Zirzow wrote: >>And this extension is working WITHOUT callbacks in main/rfc1867.c? > correct. The only thing that needs to go into the core of php is a > new php.ini option to disable parsing the input. Ok, then you can do with PHP the same as I have done with a CGI program before I found the mentioned patch. But then you have to do all the multipart/form-data parsing yourself. And you have to put all the uploaded data into the $_FILES array to stay compatible with PHP's file receiver. So you have to rewrite all the stuff that PHP is already doing very good in your PECL extension. Implementing some callbacks in rfc1867.c sounds better to me. Then a PECL extension can focus on the progress informations and let PHP handle the data.