Should be uber simple...?

ok, dunno why this isn’t working, but it isn’t.

flash

myXML = new XML("<ride> <car> RIDE IT </car> </ride>");
myXML.contentType = "text/xml";
myXML.sendAndLoad("editmembers.php", myXML);
trace(myXML);

php file

<?php 
$filename = "editmembers.xml"; 
$raw_xml = file_get_contents("php://input"); 
  
print $raw_xml; 
  
$fp = fopen($filename, "w"); 
fwrite($fp, $raw_xml); 
fclose($fp); 
?> 

the members.xml file remains unchanged each time… this is really putting me behind.

I have tried it on both my local Apache server, and on my webspace… and still nothing. I can manually run editmembers.php and it will work fine and overwrite the members.xml file… but I can’t seem to get it to run the php file from flash.
the trace function traces “<ride> <car> RIDE IT </car> </ride>” so i know that works…

anyone please help this php n00b out?