hitcounter

How to keep this counter from reseting at 100,000? [closed]

两盒软妹~` 提交于 2019-11-26 23:40:40
问题 This script resets after 100,000. What do I need to change to prevent a reset and instead keep counting? <?php $filename1 = 'content/general_site_data/total_site_page_loads.txt'; if (file_exists($filename1)) { $fh = fopen("content/general_site_data/total_site_page_loads.txt", "a+"); if($fh==false) die("unable to create file"); $filec = 'content/general_site_data/total_site_page_loads.txt'; if (!is_writable($filec)) die('not writable'); $total_site_page_loads = trim(file_get_contents($filec))