I got an application form for something and i wanna pass the variables to a php file...
heres the code:
on (release) {
delete change;
delete searchKey;
delete taListener;
var myVars:LoadVars = new LoadVars();
myVars.apName = _global.apName;
myVars.apMail = _global.apMail;
myVars.req = _global.reqData;
myVars.day = _global.apDay;
myVars.month = _global.apMonth;
myVars.apYear = _global.apYear;
myVars.budget = _global.budgetData;
myVars.notes = _global.notes;
myVars.send("http://www.example.com/page.php", "_self", "POST");
}
The code all works except for one thing...
instead of going to http://www.example.com/page.php and being able to retrieve the variables throught $_POST['variable']. It goes to http://www.example.com/page.php?variable=t...ervariable=that
I'm pretty sure that that's not meant to happen. If that is meant to happen, how would i get it so that the variables can be retrieved through $_POST['variable']. If it isnt, what have i done wrong/ how can i fix it?
