hi! i experience problems getting a variable from flash with php and write it to a txt file.
I have used the below code in flash:
count=Number(count)+1;
loadVariablesNum("counter.php?count"+, 0);
in order to open my php file and give the new value of the variable count
and my php file contains the code:
<?php
$fd=fopen("counter.txt","w");
fwrite($fd, "count=$count&loaded=1");
fclose($fd);
?>
counter.txt contains:
count=0&loaded=1
do you happen to know anything??
I'm in big trouble...thanks in advance...