什么是 AMFPHP?如何使用它读取二进制文件?
我需要一个解决方案来从服务器上存储的任何文件类型读取原始二进制文件。
我听说过 AMFPHP,但最初被推迟了,因为我认为它需要管理员访问权限才能在服务器上安装该服务。
我可以用它来读取二进制文件吗? 对此的任何解决方案都会被广泛接受。
(不,我在 XML CDATA 部分中尝试过二进制,但有太多非法的“控制”字符)
I need a solution to read raw binary from any filetype stored on a server.
I heard of AMFPHP but initially got put off since I believed it required admin-access to install the service on the server.
Can I use it to read binary files? Any solution to this would be greatly accepted.
(No, I tried binary in XML CDATA sections but there are too many 'control' characters that are illegal)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
安装 amfphp 不需要任何权限,只需将其放在服务器上的子文件夹中即可。
之后,您只需要编写 php 代码来读取二进制文件,并使用 amfphp 将这些数据传递给您的 Actionscript 代码。 这里是一个关于 amfPhp 的不错的教程
You need no privileges to install amfphp, simply put it on a subfolder on your server.
After that you just need to write the php code to read your binary files and use amfphp to pass along those datas to your actionscript code. Here is a decent tutorial on amfPhp
是的,AMFPHP 服务是用 PHP 编写的,因此只需编写一个读取二进制文件并将数据返回给客户端的服务即可。
您可能已经发现,安装 AMFPHP 不需要任何特殊权限。
Yes, AMFPHP services are written in PHP, so it's just a matter of writing a service that reads your binary files and returns the data to the client.
And as you may have discovered, installing AMFPHP doesn't require any special privileges.