Re: Upload progress
| From: | Arpad Ray | Date: | Fri, 11 Aug 2006 10:26:43 +0000 |
| Subject: | Re: Upload progress | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-25311@lists.php.net to get a copy of this message | ||
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