Im a noob lol AS3+PHP please help

Ok so im making a website and im having trouble with it.

people play AS3 games and when they are done they choose a team and it adds thier score to the teams text file.

Can someone please fix my code…(i have set the team and score in the code so dont add code that determines it, i can do that after the code works)
i dont get any errors it just simple does not do anything and when i run the swf, it goes to another webpage and shows the variables in the url bar(it doesnt look safe) e.g. eg.com/mm.php?score=100&team=1 i dont want it like that.

AS3 SCRIPT

var myVariables:URLVariables = new URLVariables();
myVariables.team = "1";
myVariables.score = "1300";
var myURLRequest:URLRequest = new URLRequest("http://www.zombiearena.com/scores.php");
myURLRequest.data = myVariables;
navigateToURL(myURLRequest, '_blank');

PHP SCRIPT

<?php
//$flower team 1
//$cook team 2
//$monk team 3
//$braddock 4

if ($team==1) {
$myFile = "flowerscore.txt";
$fh = fopen($myFile, 'r');
$oldscore = fread($fh, filesize($myFile));
fclose($fh);
}
if ($team==2) {
$myFile = "cookscore.txt";
$fh = fopen($myFile, 'r');
$oldscore = fread($fh, filesize($myFile));
fclose($fh);
}
if ($team==3) {
$myFile = "monkscore.txt";
$fh = fopen($myFile, 'r');
$oldscore = fread($fh, filesize($myFile));
fclose($fh);
}
if ($team==4) {
$myFile = "braddockscore.txt";
$fh = fopen($myFile, 'r');
$oldscore = fread($fh, filesize($myFile));
fclose($fh);
}



$score = $_POST['score'];
$team = $_POST['team'];
$newscore = $oldscore + $newscore;








//write to team score file with updated score
if ($team==1) {
  $myFile = "flowerscore.txt";
  $fh = fopen($myFile, 'w') or die("can't open file");
  fwrite($fh, $newscore);
  fclose($fh);
}
if ($team==2) {
  $myFile = "cookscore.txt";
  $fh = fopen($myFile, 'w') or die("can't open file");
  fwrite($fh, $newscore);
  fclose($fh);
}
if ($team==3) {
  $myFile = "monkscore.txt";
  $fh = fopen($myFile, 'w') or die("can't open file");
  fwrite($fh, $newscore);
  fclose($fh);
}
if ($team==4) {
  $myFile = "braddockscore.txt";
  $fh = fopen($myFile, 'w') or die("can't open file");
  fwrite($fh, $newscore);
  fclose($fh);
}


?>