JavidFlasher
کاربر فعال
آقا من چطور میتونم با as3و phpتو یه xml اطلاعات بفرستم تا سیو بشه
as3و xml رو بلدم اما php هیچی؟
as3و xml رو بلدم اما php هیچی؟
fileData = new LoadVars();
fileData.nameFile = "test.xml";
fileData.mohataviyatXML = "";
fileData.sendAndLoad("writFile.php", fileData, "POST");
var variables:URLVariables = new URLVariables();
variables.nameFile = "test.xml";
variables.mohataviyatXML = "";
var adress:URLRequest = new URLRequest("writFile.php");
adress.data = variables;
adress.method = URLRequestMethod.POST;
var loaderback:URLLoader = new URLLoader();
loaderback.load(adress);