mail_results.sendAndLoad(“http://linktoscript/getpostemail.php”, mail_results, “POST”);
mail_results.onLoad = function(success) {
if (success) {
if (this.result == “1”) {
resultText.text = “Sent successfully…”;
} else {
resultText.text = “You have problem…”;
}
}
};
using the above code to send some variables to a php script
if i test on my local machine it works fine, however when i upload to server and try it does not send them.
Any ideas?
Regards,
Sean