Re: Re: Upload progress

From: Date: Fri, 11 Aug 2006 14:28:52 +0000
Subject: Re: Re: Upload progress
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-25321@lists.php.net to get a copy of this message
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 <?php phpinfo(); ?>. 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.


« previous php.internals (#25321) next »