aboutsummaryrefslogtreecommitdiff
path: root/html/hits
diff options
context:
space:
mode:
authorDavid Aspinall2004-02-07 19:31:13 +0000
committerDavid Aspinall2004-02-07 19:31:13 +0000
commitb9caaa8e4b66817dbc66d0e79b567b3285869fea (patch)
treec5420dac1aa1afc28168867ca5cc9c610a46399e /html/hits
parent87174e13a8aa064f6d00ef9248da9938ea4978f6 (diff)
Deleted file
Diffstat (limited to 'html/hits')
-rw-r--r--html/hits26
1 files changed, 0 insertions, 26 deletions
diff --git a/html/hits b/html/hits
deleted file mode 100644
index 6d5c2be6..00000000
--- a/html/hits
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
- $counterFile = "counter.txt";
- $counterStart = "counterstart.txt";
- $maxlen=10;
- require('functions.php3');
- small_header("Hit counter");
- print "<p>";
- if (is_readable($counterFile)) {
- print "These pages have been accessed ";
- readfile($counterFile);
- print " times ";
- if (is_readable($counterStart)) {
- $fp=fopen($counterStart,"r");
- $start=fgets($fp,20);
- print "since ";
- print strftime("%d %B %Y",$start);
- print ".\n";
- } else {
- print "<br>\n(could not access time stamp file $counterStart)\n";
- };
- } else {
- echo "Could not access hit counter file $counterFile\n";
- };
- print "</p>";
- footer();
-?>