I got a weird one

ok here goes:

 <?php
$filename = "events.xml";
$fp = fopen( $filename,"w");
fwrite ( $fp, "$HTTP_RAW_POST_DATA" );
fclose( $fp );
?>

this i call from my swf, the xml is chmoded to be written to,
everything works ok when i test locally, but nothing gets written online!?
Use $Post stuff instead of the raw_data?
or…?

why do you have quotes around the $HTTP_R_P_D ? have you tried it without those? I doubt that is a problem, but I don’t see anything wrong with the script otherwise… $POST might work… I honestly don’t see anything wrong… :frowning: