Results 1 to 4 of 4

Thread: Free Hit Counter

  1. #1
    Join Date
    Feb 2005
    Posts
    6

    Default Free Hit Counter

    With the free hit counter on bizhat, is it possible to change it to display the number of actual hits rather than the number of visitors?

    Because most of the people that used my site have a permenant network connection and so dont change ip address and thus only ever get counted once on the counter.

    Thanx

  2. #2
    Join Date
    Feb 2005
    Posts
    6

    Default

    Or is there an alernative free counter available, that anyone knows of, that might do the job that instead?

    Thanks

  3. #3

    Default

    Quote Originally Posted by MrGee
    Or is there an alernative free counter available, that anyone knows of, that might do the job that instead?

    Thanks
    Ya there is I host one on my site(in my signature)

    No Ads No Limits and you can email me with your own counter digits plus it has a change count and it does actual hits and today

  4. #4
    Join Date
    Feb 2005
    Posts
    3

    Default

    <?
    $filedir="counter.txt" ;
    $counterfile = fopen("$filedir", "r+");

    if ( $counterfile ) {
    $counter = fgets( $counterfile, 99 );
    $counter = doubleval( $counter ) + 1;
    fseek($counterfile, 0);
    fputs( $counterfile, $counter );
    }
    fclose( $counterfile);

    echo"
    Sei il visitatore numero : $counter
    ";
    ?>


    You've to create a counter.txt file in your current working dir
    bye
    delarge

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •