I think maybe using a LoadVars() object is what you may need to use.
you can probably just use this:
PHP Code:
input = textField1.text+","+textField2.text+","+textField3.text+","+textField4.text;
but here is an example of using sendAndLoad() to send some data to you PHP script..andthen execute (whateer) once the php script has been loaded/returns a response...if applicable)
PHP Code:
//create a new loadvars object
var newData:LoadVars = new LoadVars();
newData.inputNumbers = textField1.text+","+textField2.text+","+textField3.text+","+textField4.text;
//create a routine that executes when the text file is loaded
newData.onLoad = function(success){
if(!success){
//if the text file was NOT found
trace("PHP script Not Found");
}else{
//if text file was loaded properly
trace("PHP script was found");
//handle any return/echo from the php here as well
}
}
//load the text file of choice
newData.sendAndLoad("someFile.php", newData, "POST");