RE: [PHP-DEV] Question on file upload

2009-06-02 Thread Bharat Nagwani
... While following multipart_buffer_read I cannot find the place where it is reading the temp file to fill this buffer. Thanks -Original Message- From: Matt Wilson [mailto:sha...@gmail.com] Sent: Tuesday, June 02, 2009 4:22 PM To: Bharat Nagwani Cc: internals@lists.php.net Subject

Re: [PHP-DEV] Question on file upload

2009-06-02 Thread Matt Wilson
I'm not sure if you're looking to change the C implementation or not, but you could always bypass the internal processing of the file. Set post_max_size to 0 and parse the HTTP_RAW_POST_DATA manually. On Jun 2, 2009, at 3:55 PM, Bharat Nagwani wrote: Hello, I want to change the way file u

[PHP-DEV] Question on file upload

2009-06-02 Thread Bharat Nagwani
Hello, I want to change the way file upload processing is done in php. We have a http server (appweb) that puts the uploaded file to a temp directory. This file has headers at the beginning and end. I am looking at code rfc1867.c. This code takes the temp file and seems to extract the real fil