Re: [PHP-DEV] Re: Upload progress

2006-08-11 Thread Arpad Ray
Richard Quadling wrote: But even with ... always_populate_raw_post_dataOn 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 th

Re: [PHP-DEV] Re: Upload progress

2006-08-11 Thread 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] Origina

[PHP-DEV] Re: Upload progress

2006-08-11 Thread Unknown W. Brackets
What about Transfer-Encoding, as mentioned in another post? I didn't think PHP provides that one. -[Unknown] Original Message 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 Ru

Re: [PHP-DEV] Re: Upload progress

2006-08-11 Thread Richard Quadling
On 11/08/06, Arpad Ray <[EMAIL PROTECTED]> wrote: 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

[PHP-DEV] Re: Upload progress

2006-08-11 Thread 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 pars