1<?php
2$filename = "counter";
3if(file_exists($filename)) {
4    $cnt = file_get_contents($filename);
5} else {
6    $cnt = 0;
7}
8?>
9
10<div style="text-align: center;">
11    <h1>Download count: <?php echo $cnt;?></h1>
12</div>