$digits = 5; /*This defines the number of digits displayed... in this case the counter will look like 0000x.*/ $filelocation="achcount.txt"; /*This is the filename of the counterfile. If you want to use another name, change it here and rename the .txt file.*/ if (!file_exists($filelocation)) { $newfile = fopen($filelocation,"w+"); $content=5625; fwrite($newfile, $content); fclose($newfile); } $newfile = fopen($filelocation,"r"); $content = fread($newfile, filesize($filelocation)); fclose($newfile); $newfile = fopen($filelocation,"w+"); if (!$c){ $content++; } fwrite($newfile, $content); fclose($newfile); /* If you want some text to display around the counter, put it in the quotationmarks.*/ /* End of Counter Script */ ?>
|
Awards
Please note: all wines are VQA
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Website
design & development by
Alderson, Caters & Hardy Inc. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||