PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Markus Fensterer  >  Little Counter  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example script
Class: Little Counter
Keep track of user accesses to site pages in MySQL
Author: By
Last change:
Date: 17 years ago
Size: 682 bytes


Class file image Download
$counter = new littleCounter;
$counter->dbhost = $database['host'];
$counter->dbuser = $database['user'];
$counter->dbpwd = $database['pwd'];
$counter->dbdatabase = $database['db'];
$counter->dbtable = $database['tablename'];
$counter->onlinetime = "300";
"Hits: ";
"<br />Counter: ";
"<br />Online: ";
"<br />Hits of you (last 24 hours): ";

For more information send a message to info at phpclasses dot org.