Is there an encoding method that is mutual to flash and php?

Posted by Gus on Stack Overflow See other posts from Stack Overflow or by Gus
Published on 2010-05-31T22:13:13Z Indexed on 2010/05/31 22:33 UTC
Read the original article Hit count: 248

Filed under:
|
|
|

I'm base64 encoding a JPG in AS3 and passing it to PHP where it would be decoded. It appears that AS3's encodeToBase64String() function and and PHP's base64_decode() function do not use the same algorithm.

Is there a library or API for either language that would allow it to interface with the other? Alternatively, does anyone even know what PHP's default base64 map is? My Google searching is not yielding results.

© Stack Overflow or respective owner

Related posts about php

Related posts about actionscript-3