Re: [PHP] handling chunked input from php://stdin

2009-05-13 Thread whisperstream
out error. I didn't even need to decode the chunked data as it is done before I even get access to the data. Spent a day trying to figure out what was wrong, hopefully it'll save someone else some time. Nathan Rixham wrote: > > Shawn McKenzie wrote: >> whisperstre

[PHP] handling chunked input from php://stdin

2009-05-12 Thread whisperstream
I have a server running that receives xml formatted events from other services I have no control over. For certain events the transfer-encoding is chunked. I was just doing $input = file_get_contents('php://stdin'); and this works well until there is chunked input. Then I tried $handle = fop