如何编码(序列化)和解码(反序列化)AMF数据包?
目前,我似乎已经尝试了书中的所有技巧,试图让它发挥作用。我需要某种方式对 AMF 请求进行编码,然后对响应进行解码。在这一点上,我不在乎它使用什么语言,只要它可行且免费(对我来说),但我更喜欢 PHP。
我不知道还需要什么其他信息,但我很乐意提供更多信息 - 只需评论即可!
谢谢。
编辑: 看来我使用的 AMFPHP 版本已损坏。使用我从某处提取的不同版本有效。
At the moment it seems I've tried every trick in the book trying to get this to work. I need some way of encoding AMF requests and then decoding the responses. At this point I don't care what language it's in, as long as it's doable and free (as in to me), however I would prefer PHP.
I don't know what other information is needed, but I'm happy to supply more info - just comment this!
Thanks.
EDIT:
It seems the version of AMFPHP I was using was broken. Using a different version that I extracted from somewhere worked.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以将 amfphp 用于 PHP 端或从 zend 框架 或 weborb for PHP也是免费的
You can use amfphp for PHP side or from the zend framework or weborb for PHP who is also free
虽然这个问题很老了,但如果有人像我一样在搜索。
在此处查看答案
Although this question is very old, but still if someone is searching like me.
Checkout the answer over here
SabreAMF 有一个解码器。检查 http://code.google.com/p/sabreamf/
SabreAMF has a decoder. Check http://code.google.com/p/sabreamf/