I need to pass some information between ActionScript 2 and PHP so I'm using the LoadVars and send methods in ActionScript as follows...
var oEnvelope:LoadVars = new LoadVars();
oEnvelope.Variable1 = 1;
oEnvelope.Variable2 = 0;
oEnvelope.send( 'mypage.php', 'newwin', 'POST' );
My mypage.php file contains the following...
$Variable1 = $_POST['Variable1'];
$Variable2 = $_POST['Variable2'];
echo "Variable1 : $Variable1" ;
echo "Variable2 : $Variable2" ;
Now all works well in FF3 and Safari, however although IE7 shows the page .. it is not showing any values from the $_POST super global!
Doesn't seem to be a caching issue as it has been tried on a machine which has had no exposure to the site in question and the results are the same, i.e. not working.
Running on Apache 1.3 ( yes I have requested an upgrade to 2 ), and PHP-5.
Any comments appreciated, thanks.