hello,
i have a little script that is supposed to save an xml file to the server. here is the script:
<?
$d = $GLOBALS[HTTP_RAW_POST_DATA];
$fp = fopen("test.xml", "w");
fputs($fp, $d);
print "<data>goit</data>"; // send another xml back
?>
now it gets the xml from flash with sendandload. this all works fine on my free testing server, but on my clients server i get this back from the script and nothing happens:
<br />
<b>Warning</b>: fopen(test.xml): failed to open stream: Permission denied in <b>/home/map-brus/public_html/saverawdata.php</b> on line <b>3</b><br />
<br />
<b>Warning</b>: fputs(): supplied argument is not a valid stream resource in <b>/home/map-brus/public_html/saverawdata.php</b> on line <b>4</b><br />
<data>goit</data>
does anybody know how to solve this, I don't get support from the host.
thx a lot