From 4774e8e4c1284eb1adb4e992e9b57b00d5e9157f Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Sun, 9 Sep 2001 17:54:22 +0000 Subject: Renamed file --- html/hits | 26 ++++++++++++++++++++++++++ html/hits.html | 26 -------------------------- 2 files changed, 26 insertions(+), 26 deletions(-) create mode 100644 html/hits delete mode 100644 html/hits.html (limited to 'html') diff --git a/html/hits b/html/hits new file mode 100644 index 00000000..6d5c2be6 --- /dev/null +++ b/html/hits @@ -0,0 +1,26 @@ +"; + 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 "
\n(could not access time stamp file $counterStart)\n"; + }; + } else { + echo "Could not access hit counter file $counterFile\n"; + }; + print "

"; + footer(); +?> diff --git a/html/hits.html b/html/hits.html deleted file mode 100644 index 6d5c2be6..00000000 --- a/html/hits.html +++ /dev/null @@ -1,26 +0,0 @@ -"; - 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 "
\n(could not access time stamp file $counterStart)\n"; - }; - } else { - echo "Could not access hit counter file $counterFile\n"; - }; - print "

"; - footer(); -?> -- cgit v1.2.3