diff options
Diffstat (limited to 'html/counter.php3')
| -rw-r--r-- | html/counter.php3 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/html/counter.php3 b/html/counter.php3 index 285dc88d..0ea4593d 100644 --- a/html/counter.php3 +++ b/html/counter.php3 @@ -15,6 +15,13 @@ $maxlen = 10; // if file doesn't exist already, so start with // empty files made with touch. +// Here's how to cause it to be initialized: +// +// rm -f counter.txt counterstart.txt +// touch counter.txt counterstart.txt +// chmod o+w counter.txt counterstart.txt +// + if (is_readable($counterFile) && is_writeable($counterFile)) { $fp = fopen($counterFile,"r+"); if (filesize($counterFile)<1) { |
