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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to