Return to Snippet

Revision: 55487
at February 9, 2012 01:39 by flo


Initial Code
//-- your byte array you want to save
var bytes: ByteArray = new ByteArray();

//-- set up correct url request using post in binary mode
var request:URLRequest = new URLRequest ( 'http://pathto/save.php' );
var loader: URLLoader = new URLLoader();
request.contentType = 'application/octet-stream';
request.method = URLRequestMethod.POST;
request.data = bytes;
loader.load( request );

Initial URL


Initial Description


Initial Title
Save ByteArray to file with PHP

Initial Tags


Initial Language
ActionScript