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.
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php