Hi,
Also mit JavaScript geht das nicht. JavaScript wird vom Browser ausgeführt, also kannst nix am Server schreiben. Was du brauchst is PHP oder Perl.
PHP:
<?
$file = fopen("1.inc","r+");
$count = fread($file, filesize("1.inc"));
fclose($file);
$count += 1;
$file = fopen("1.inc","w+");
fputs($file, $count);
fclose($file);
include("1.inc");
?>
Da hast zum zb nen Counter in PHP.
$file = fopen("FILE","w+");
fputs($file, WAS IN FILE SCHREIBEN WILLST);
fclose($file)
Das ist der Befehl zum schreiben in eine Datei.
cya
ShadowsMaster