Re: Re: Upload progress
| From: | Arpad Ray | Date: | Fri, 11 Aug 2006 20:15:59 +0000 |
| Subject: | Re: Re: Upload progress | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25325@lists.php.net to get a copy of this message | ||
Richard Quadling wrote:
But even with ...Have you tried reading from php://input? Having it all in HTTP_RAW_POST_DATA implies it has all been read at once anyway. The content-length warning is AFAIK unavoidable. I mentioned before that I use an .htaccess file to set post_max_size just for that script - I also set error_reporting there to suppress the warning. I suggest we move this discussion to php-general anyway, since we're no longer talking about internals. Arpadalways_populate_raw_post_data OnI 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.