# Weird POST problem in flash

**URL:** <https://forum.kirupa.com/t/weird-post-problem-in-flash/243123>\
**Category:** Uncategorized\
**Created:** [November 3, 2007, 12:32am UTC](https://forum.kirupa.com/t/weird-post-problem-in-flash/243123 "2007-11-03T00:32:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sean1983uk](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@sean1983uk](https://forum.kirupa.com/u/sean1983uk)\
**Post date:** [November 3, 2007, 12:32am UTC](https://forum.kirupa.com/t/weird-post-problem-in-flash/243123/1 "2007-11-03T00:32:53Z")

</div>

mail\_results.sendAndLoad(“[http://linktoscript/getpostemail.php](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
