Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25321 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6995 invoked by uid 1010); 11 Aug 2006 14:28:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 6975 invoked from network); 11 Aug 2006 14:28:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Aug 2006 14:28:44 -0000 X-Host-Fingerprint: 75.31.203.222 adsl-75-31-203-222.dsl.irvnca.sbcglobal.net Received: from ([75.31.203.222:26546] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 03/95-28296-C149CD44 for ; Fri, 11 Aug 2006 10:28:44 -0400 Message-ID: <03.95.28296.C149CD44@pb1.pair.com> To: internals@lists.php.net Date: Fri, 11 Aug 2006 07:28:52 -0700 User-Agent: Thunderbird 1.5 (Windows/20051229) MIME-Version: 1.0 References: <44DC5B63.1050208@rajeczy.com> <10845a340608110555q366f22f2p76ca5f7023de51b8@mail.gmail.com> In-Reply-To: <10845a340608110555q366f22f2p76ca5f7023de51b8@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 75.31.203.222 Subject: Re: [PHP-DEV] Re: Upload progress From: unknown@simplemachines.org ("Unknown W. Brackets") Using PHP 5.1.x (I don't remember which exact version) I tested opening php://input (since I want to stream it anyway) the other day - and that did work. I think I may have had display_errors off on that box, though, so I may have missed this warning you mention. -[Unknown] -------- Original Message -------- > If I set Windows ISAPI's post_max_size to 0 bytes, I get ... > > Warning: POST Content-Length of 9261 bytes exceeds the limit of 0 > bytes in Unknown on line 0 > > My handler is . There is no need to actually handle > the upload. > > and > > _SERVER["CONTENT_LENGTH"] 9261 > _SERVER["CONTENT_TYPE"] multipart/form-data; > boundary=---------------------------1753618095350 > _SERVER["HTTP_CONTENT_LENGTH"] 9261 > _SERVER["HTTP_CONTENT_TYPE"] multipart/form-data; > boundary=---------------------------1753618095350 > > But even with ... > > always_populate_raw_post_data On > > I get ... > > Notice: Undefined variable: HTTP_RAW_POST_DATA (for > $HTTP_RAW_POST_DATA) and Notice: Undefined index: HTTP_RAW_POST_DATA > (for $_SERVER['HTTP_RAW_POST_DATA']). > > > Assuming you CAN get the length, it may be that you cannot actually > get the data. > >