<?
$counter = "msnmandownloadsstats.txt";
$fp = fopen($counter, "r");
$count = fread($fp, filesize($counter));
$count++;
fclose($fp);
$fp = fopen($counter, "w");
fwrite($fp, $count);
fclose($fp);
?>
<meta http-equiv="refresh" content="1;url=msnman.php>
that is per file the msnman.php is the file
and the text file to write to is at the top and must be chmoded to 777
i want one that does'nt have to use a new text and php file everytime
and uses like id=1 id=2 for every different file
the server uses php 4