Hi all,

can some1 help me with saving AMF object to a file.

I have and Array object in PHP with some text and bynary data

$Config = array();
//authorisation URL
$Config["authURL"] = "authUrl";
$Config["DocumentID"] = "DocumentID";
$Config["Data"] = fopen("Doc.pdf");

now I need to serialize it to AMF formatted object and save it as
binary file i.e. Doc.amf or something.

In the end I need to be able to load it inside Flex with simple
URLLoader and get it back with loader data
var Config:Object = new Object ();
Config = dataContent.readObject(event.target.data);

so anything like AMF.serialize in amfphp/zend or simmilar?

Thx,
Tanja


Reply via email to