SK.HITS v1.0 :: 2nd May 2007
  <http://skode.void-star.net/?sk.hits>
========================================================================

1.  INSTALLATION

    1.1 DATABASE SETUP
        Copy the following table structure into your MySQL database (e.g.
        via phpMyAdmin):
        
          CREATE TABLE `skhits` (
            `hitDate` date NOT NULL default '0000-00-00',
            `hitTime` time NOT NULL default '00:00:00',
            `hitRefer` varchar(255) default NULL,
            `hitAgent` varchar(130) NOT NULL default 'unknown',
            `hitIP` varchar(15) NOT NULL default '127.0.0.1',
            `hitURL` varchar(100) default NULL,
            `hitType` tinyint(1) NOT NULL default '0',
            PRIMARY KEY  (`hitDate`,`hitTime`,`hitIP`),
            KEY `hitTime` (`hitTime`)
          );
        
        If you change the table name from skhits, remember to write down the
        new name.
        
    1.2 CONFIG FILE
        Open values.inc.php and edit server variables as appropriate.  Remember
        to change HIT_TABLE if you changed the table name in the above step.
    
    1.2 UPLOAD
        Upload /sk.hits directory to your website in the location specified by
        $_VARS['site_path'].
    
    1.3 INCLUDE TRACKER
        Include the following line on any PHP page where you wish to track hits:
        
          <? @include( 'sk.hits/values.inc.php' ); ?>
        
        Remember to adjust the pathing location as necessary.
    
    1.4 DISPLAY HIT COUNT
        To display the hit counter, use the following where you would like it to
        appear on your page:
        
          <? get_hitcounter(); ?>
    
    1.5 EXCLUDE YOURSELF
        To not count your own visits to your site, open the page dontcountme.php
        in your browser.
        
    1.6 ENJOY!


2.  HELP & SUPPORT
    General help and support for this script can be obtained by going to
    http://skode.void-star.net.
  
    2.1 REGEXP HELP FOR $_VARS['preg_int_refer']
        For root domains:
          $_VARS['preg_int_refer'] = "^(http://(([w]{3}\.)|())mydomain\.com)";
        
        For subdomains:
          $_VARS['preg_int_refer'] = "^(http://sub\.mydomain\.com)";
        
        For directories:
          $_VARS['preg_int_refer'] = "^(http://(([w]{3}\.)|())mydomain\.com/dir)";
    