Re: Upload Progress Meter Patch
| From: | Klaus Reimer | Date: | Fri, 05 Nov 2004 19:04:00 +0000 |
| Subject: | Re: Upload Progress Meter Patch | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13738@lists.php.net to get a copy of this message | ||
Curt Zirzow wrote:
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.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.