如何从flex mobile接收php中的bytearray

如何从flex mobile接收php中的bytearray,php,actionscript-3,apache-flex,flex3,flex4.5,Php,Actionscript 3,Apache Flex,Flex3,Flex4.5,我正在使用post将bytearray从flex发送到php,但在php中我无法接收bytearray。请任何人帮助我如何接收bytearray。我看了这里所有的帖子,但没有找到解决办法。有谁能帮我用php接收bytearray吗 这是flex代码 var jsonRequest:URLRequest = new URLRequest(url); jsonRequest.method = URLRequestMethod.POST; fileData = ModelLocator.get

我正在使用post将bytearray从flex发送到php,但在php中我无法接收bytearray。请任何人帮助我如何接收bytearray。我看了这里所有的帖子,但没有找到解决办法。有谁能帮我用php接收bytearray吗

这是flex代码

var jsonRequest:URLRequest = new URLRequest(url);
jsonRequest.method = URLRequestMethod.POST;
    fileData = ModelLocator.getInstance.photoByteArray;//Byte Array
    var postData:Object = new Object();
    postData.title = "random title";
    jsonRequest.contentType = "multipart/form-data; boundary=" + UploadPostHelper.getBoundary();
    jsonRequest.data = UploadPostHelper.getPostData(fileName, fileData, postData);
    jsonRequest.requestHeaders.push(new URLRequestHeader("Cache-Control", "no-cache"));
    var jsonLoader:URLLoader = new URLLoader();
    jsonLoader.load(jsonRequest);
但是在php中,我尝试了如何接收这个文件的内容php://input'); 但我收到的是空值。
请告诉我我哪里做错了。

你检查了
$\u文件了吗
?嗨,Josh,谢谢你的回复,我已经给了$\u文件,现在我成功地获得了文件数据,但问题是我没有获得我从flex发送的postData“随机标题”。谢谢Josh,它现在工作得很好。为了检索图像,我使用了$u文件来获取额外的参数,我使用了$u post。