top of page

$number = file_get_contents($counter); // read count file $number++; // increment count by 1 $fh = fopen($counter, 'w'); // open count file for writing fwrite($fh, $number); // write new count to count file fclose($fh); // close count file header("Location: $download"); // get download ?>
bottom of page