PHP Classes

File: includes/include_counter.php

Recommend this page to a friend!
  Classes of Brent Rossen   Simple Hit Counter   includes/include_counter.php   Download  
File: includes/include_counter.php
Role: Example script
Content type: text/plain
Description: File to include on your page to count the hits
Class: Simple Hit Counter
Count the number user accesses using files
Author: By
Last change:
Date: 13 years ago
Size: 98 bytes
 

Contents

Class file image Download
<?php
include_once 'counter.php';

$counter = new SimpleCounter();
$counter->countHit();

?>