Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25311 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6704 invoked by uid 1010); 11 Aug 2006 10:27:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 6689 invoked from network); 11 Aug 2006 10:27:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Aug 2006 10:27:59 -0000 X-PHP-List-Original-Sender: arpad@rajeczy.com X-Host-Fingerprint: 217.206.16.249 mailhost.ipoints.co.uk Windows 2000 SP2+, XP SP1 (seldom 98 4.10.2222) Received: from ([217.206.16.249:26170] helo=mailhost.ipoints.co.uk) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 6E/2B-28296-DAB5CD44 for ; Fri, 11 Aug 2006 06:27:58 -0400 Received: from [192.168.0.32] ([192.168.0.32]) by mailhost.ipoints.co.uk (Merak 5.4.2) with SMTP id BLB37211; Fri, 11 Aug 2006 11:27:54 +0100 Message-ID: <44DC5B63.1050208@rajeczy.com> Date: Fri, 11 Aug 2006 11:26:43 +0100 User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: internals@lists.php.net, unknown@simplemachines.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Upload progress From: arpad@rajeczy.com (Arpad Ray) Unknown W. Brackets wrote: > 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. Of course then $_POST isn't available, so if you want to handle normal POST data in the same request it also has to be manually parsed. I use an .htaccess file to limit this to the one file handling these requests. > 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.) I believe you could use $_SERVER/$_ENV['CONTENT_LENGTH'] in CGI, I don't know about the IIS ISAPI module though. Arpad