• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

where do i find couters to install on my web

Depending on what features are installed on whatever control panel you are using, it might be available there. if not, try a cheap free one, like www.bravenet.com
 
Power Phlogger

http://pphlogger.phpee.com/

Requirements
PHP3 or PHP4: You should not run PowerPhlogger with PHP3 < 3.0.9. We recommend to use PHP4.
PHP also needs to be compiled with MySQL support;
PHP has to be compiled with PCRE-support, --with-pcre-regex[=DIR] (enabled by default since PHP 4.2.0)
MySQL (tested with 3.22.25 and 3.23.x);
GD-lib with FreeType support enabled and FreeType linkage with TTF library



I'm using this one to track multiple websites and I just love it!
Highly recommended by me :)

It's a little more advanced then a counter. Got plenty and plenty of stats on your traffic.


If however you just want a counter:

PHP:
    <?php
    $file="counter.txt";
    $handle=fopen($file, "r+");
    $hits=fread($handle,filesize("$file"));
    $hits+=1;
    fclose($handle);
    echo "$hits";
    $handle=fopen($file, "w");
    fwrite($handle, $hits);
    fclose($handle);
    ?>

make a file counter.txt and use this code to do +1 on that file
very basic
 
Last edited:
Back
Top