PHP Classes

File: includes/viewcounter.php

Recommend this page to a friend!
  Classes of Brent Rossen   Simple Hit Counter   includes/viewcounter.php   Download  
File: includes/viewcounter.php
Role: Example script
Content type: text/plain
Description: Example page to view the hit results
Class: Simple Hit Counter
Count the number user accesses using files
Author: By
Last change: Changed to example script for viewing hit results
Date: 14 years ago
Size: 377 bytes
 

Contents

Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>View Counter</title>
</head>

<body>
<h1>View Counter</h1>

<?php
include_once 'counter.php';
$counter = new SimpleCounter();
$counter->outputCounterResults();
?>

</body>
</html>