1<?php
2$filename = "counter";
3if(file_exists($filename)) {
4    $cnt = file_get_contents($filename);
5} else {
6    $cnt = 0;
7}
8$cnt++;
9file_put_contents($filename, $cnt);
10Header("Location: latexit-v1.0.4.zip");