PHP Classes

PHP Hit Counter Widget: Count user visits and display in a image widget

Recommend this page to a friend!
  Info   View files Example   Demos   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 176 All time: 8,764 This week: 488Up
Version License PHP version Categories
hcw 1.0.0Freeware5.4HTML, PHP 5, Graphics, User Management


This class count user visits and display in a image widget.

It can record the accesses of site visitors in a MySQL database.

The class can also generate an image for a widget that displays the number of visitors of the site pages.

The image widget details like font color, font style, font, background color can be configured.

Picture of Vishv Sahdev
  Performance   Level  
Name: Vishv Sahdev <contact>
Classes: 13 packages by
Country: India India
Age: 52
All time rank: 51429 in India India
Week rank: 311 Up20 in India India Up
Innovation award
Innovation award
Nominee: 7x



$_POST['ok']) && $_POST['ok'] == "ok"){


  hitcounterExternal page  

Open in a separate window

  Files folder image Files  
File Role Description
Files folder imagehc (2 files)
Files folder imagetemplate (2 files)
Plain text file HCW_class.php Class hit counter widget class
Plain text file HCW_config.php Conf. config
Plain text file HCW_example.php Example example
Plain text file HCW_SQL.txt Data SQL Example
Plain text file HCW_widget.php Example widget

  Files folder image Files  /  hc  
File Role Description
  Plain text file .htaccess Data htaccess
  Plain text file index.php Example hitcounter show

  Files folder image Files  /  template  
File Role Description
  Plain text file HCW_cutpaste.php Aux. template file
  Plain text file HCW_template.php Aux. template

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,764
This week:488Up