">
// php teller $file = "counter.dat"; if(!($fp = fopen($file, "r"))) die ("Kan het bestand niet openen..."); $count = (int) fread($fp, 30); fclose($fp); $count++; echo "$count"; $fp = fopen($file, "w"); fwrite($fp, $count); fclose($fp); ?>