Maybe this helps:
The manual states that it's best to use php://input (man) to read the raw post data. Also, neither $HTTP_RAW_POST_DATA nor php://input will be available with enctype="multipart/form-data".
Ahh... enctype is different from Content-type. Being flash-phobic, I can't guess the inner workings of that actionscript, but this post suggests setting the Enctype header also:
jpgURLRequest.requestHeaders.push(new URLRequestHeader('Enctype', 'application/x-www-form-urlencoded');
grossvogel
2010-06-25 15:42:36