I wish to upload from my Flash Application (AS3) to imageshacks XML API. I wish to know how I can do this.
\"In Flash, we must POST the data using the UrlRequest and
You can send your filename data and any other data you want along with the URLRequest:
var params:URLVariables = new URLVariables();
params.id = ride.id;
params.filename = ride.map_image;
params.path = 'maps/';
var req:URLRequest = new URLRequest( ModelLocator.SERVER_URL + "/php/uploadpic.php");
req.method = URLRequestMethod.GET;
req.data = params;
fileRef.upload(req);
on the server side in php you access the extra variables as: $_REQUEST['path'] and $_REQUEST['filename'] etc