求PHP关于AMF3的资料
如果用PHP生成AMF3格式
求资料,求DEMO,各种关于PHPAMF的求
------解决方案--------------------不知道是不是你想要的.话说 AMF不是adobe的一种传输协议吗?
demo
http://sourceforge.net/projects/php-amf3/
部分找到的代码
var request=new URLRequest('http://localhost/test.php');
request.method = URLRequestMethod.POST;
var data = new URLVariables();
var bytes:ByteArray = new ByteArray();
bytes.objectEncoding = ObjectEncoding.AMF3;
//write an object into the bytearray
bytes.writeObject(
{ myString:"Hello World"}
);
data.data = bytes;
request.data = data;
var urlLoader:URLLoader = new URLLoader();
urlLoader.dataFormat = URLLoaderDataFormat.BINARY;
urlLoader.addEventListener(Event.COMPLETE, onCompleteHandler);
urlLoader.load(request);
function onCompleteHandler(evt:Event):void {
trace(evt.target.data);
}
define("AMF_AMF3",1);
$data = $_POST['data'];
echo amf_decode($data, AMF_AMF3);
------解决方案--------------------http://www.baidu.com/s?wd=AMFPHP&pn=20
http://sourceforge.net/projects/amfphp/