hi guys
i would like to send variables via myVars.send();
but i don’t want to open a new browser window so i did’nt write in the parameters method and target.
in my .fla file is written:
vars = new LoadVars();
vars.first = "i hope it works";
vars.send("send.php");
and in send.php:
<?
$var = $_POST["first"];
$fp = fopen("txt.txt","w+");
fwrite($fp,$var);
fclose($fp);
?>
what do i make wrong??
even the file has not created!!
but when i add the parameter target and a new browser window opens , everything runs correct!!
please help
thx