Location: PHPKode > scripts > phpHitCounter > phphitcounter/examples/sample5.php

/* sample five: image based hitcounter, but uses the lcd theme and look for unique visitors*/

// include the class

// create an object of the class
$hit=new hc("c:\hits.txt",true,"c:\visitors.txt");

// log unique visitors

// set the counter mode to image

// use the lcd theme

// register a site hit

// show the counter

Return current item: phpHitCounter