btn.onRelease=function(){ getURL("http://www.server.com/script.php?text="+input.text); }
$f=fopen("file.txt","w"); $text=_REQUEST['text']; fwrite($f,text); fclose($f);