This SHOULD target a text file and save the variable "count" which has been loaded into it by a FLash movie. It doesnt work. The file has been set to chmode 777.
HELP
<?
error_reporting(0);
$fp=fopen('http://www.capturedmusic.com/uk/log.txt','a');
if (!$fp) die ("status=CANT+OPEN+FILE");
fputs ($fp,date("d-M-Y H:i"));
fputs ($fp,"\r\n $count \r\n");
fclose($fp);
echo ("status=SAVED");
?>