views:

246

answers:

2

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)

+1  A: 

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.

Kristian J.
+4  A: 

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

Axelle Ziegler