ok guys, i made some research and ive gone into this...

i now can read from a .txt file but still cannot write on it :s ...... this is the code i got so far:

PHP:

Code:
<?php
$mytxt =$_POST['hsdata'];
$myfile = "text.txt";
$fh = fopen($myfile,'w');
fwrite($fh, $mytxt);
fclose ($fh);
?>
Flash:

TimeLine - First Frame:

Code:
loadText = new LoadVars();
loadText.onData = function(raw) { Field2.text = raw };
loadText.load("text.txt");
Button1 :

Code:
on (click) {
 var outLV = new LoadVars();
 var inLV = new LoadVars();
function sendData() {
outLV.hsdata = Field1.text;
outLV.sendAndLoad("host.php",inLV,"POST");
}
}
may you tell me what is wrong here?
I didnt tried to use it on an html path...
is it needed to be on http:// path or c:\ is enough?
Thanks:

Duarte V.