Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25275 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57023 invoked by uid 1010); 10 Aug 2006 04:45:05 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 57007 invoked from network); 10 Aug 2006 04:45:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Aug 2006 04:45:05 -0000 X-Host-Fingerprint: 75.31.203.222 adsl-75-31-203-222.dsl.irvnca.sbcglobal.net Received: from ([75.31.203.222:11076] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 4F/E0-08715-8E4BAD44 for ; Thu, 10 Aug 2006 00:24:10 -0400 Message-ID: <4F.E0.08715.8E4BAD44@pb1.pair.com> To: internals@lists.php.net Date: Wed, 09 Aug 2006 21:24:10 -0700 User-Agent: Thunderbird 1.5 (Windows/20051229) MIME-Version: 1.0 References: <57792e850608081529g25f22a28wf768fcffe8801bb5@mail.gmail.com> <44D91BE0.3040303@filemobile.com> <1944df00608081956p55c161c2o8f0aa6329e682918@mail.gmail.com> <39.CC.30310.132F9D44@pb1.pair.com> <44D9FCC4.8030408@rajeczy.com> In-Reply-To: <44D9FCC4.8030408@rajeczy.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 75.31.203.222 Subject: Re: [PHP-DEV] Upload progress From: unknown@simplemachines.org ("Unknown W. Brackets") Fair enough. I was under the (now obviously wrong) impression that setting post_max_size to 0 wouldn't let me get to the post data. But that's still setting you dependent on it being Apache. I would need (if I were to add this feature to any of my software) to write this in code that can run on IIS or as CGI (because it is intended for end-users.) Very interesting. Thank you, -[Unknown] -------- Original Message -------- > If you set post_max_size to 0, you can parse the post data yourself from > php://input. Combine that with the Content-Length value from > apache_request_headers() and you have everything you need for a progress > monitor. > > I don't mean to detract from the hopefully soon-to-come support in the > core, just to point out that it's already possible without a patch. > > I have some code using this method in case anyone's interested, email me > off-list. > > Arpad