Search code examples
phpflashserializationremotingamf

How to encode (serialize) and decode (deserialize) AMF packets?


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.


Solution

  • You can use amfphp for PHP side or from the zend framework or weborb for PHP who is also free