Hey, i was woundering if anyone could tell me a link to a good Site counter
I would like to have a lot of stats like how many per day over all ect, You know what i mean
I'll add rep also
Thanks
Printable View
Hey, i was woundering if anyone could tell me a link to a good Site counter
I would like to have a lot of stats like how many per day over all ect, You know what i mean
I'll add rep also
Thanks
Does that actually go on the site for visiters to see?
No ;)
It comes up a [] Square and you click it to see stats
Oh do you know one, That everyone can see them, As be eaiser and looks good, Sorry to be a pain.
No, sorry.
www.cutandpastescripts.com
www.fastusersonline.com
Look in CGI Center on Cpanel. You will find some clocks and stuff like that :)
I've been on cutandpaste before, But i can't seem to get the script?? Anyway how i can :s
You have to register?
Oh and for the php code for your IP adress to show when u open the page is
<? echo "IP: $REMOTE_ADDR"; ?>
<?php echo $_SERVER['HTTP_USER_AGENT']; ?>
Make sure if u use these that the page ends in .php instead of .htm or .html
RegisterRegisterRegisterRegisterRegister
Do u wnat just a hit counter or stats? hit counter u may as well do u self as its so simple.
if you wnat stats and counter best place is http://www.statcounter.com/
Or if you want toi get reaLY GOOD stats, and the option of very persific counters i suggest http://www.tracewatch.com/ which is what gives me all thybags statistcs. Athogh by defiult it shows nothing on teh page, u can use the php api to show what ever stats u like
Alrighty, I got a counter, But don't like it Very much
I'm really looking for one like this
Page veiws: 10
Page Veiws Per day on average: 1
Webpage load time: 1.405 @56k
Kind of like that, Not just a boring one with just one counter
Thanks
Oh cool thanks Mentor and everyone else:)
OPPS DOUBLE POST DARN Delete
:O wewt :D i did the stats thing :D u know the .php 1 yay :D
the tracewatch thing i think can give u an average, athogh just for that its a little pointless.Quote:
Originally Posted by smurf-you
for a page genirtaion time.
at the very top of the page, aboev abosulty everything.
ad (u need php page)
Then where u wnat the counter to show,PHP Code:<?php
class Debug {
function startTimer() {
global $starttime;
$mtime = microtime ();
$mtime = explode (' ', $mtime);
$mtime = $mtime[1] + $mtime[0];
$starttime = $mtime;
}
function endTimer() {
global $starttime;
$mtime = microtime ();
$mtime = explode (' ', $mtime);
$mtime = $mtime[1] + $mtime[0];
$endtime = $mtime;
$totaltime = round (($endtime - $starttime), 5);
return $totaltime;
}
}
$Debug = new Debug;
$Debug->startTimer();
?>
ad
Keep in mind, it wont be compleaty acurte as it put gets how long the page has taken to genirate that persic bit, so the nearer tpo the end it is the more acuret it will be.PHP Code:<?php
$load = sprintf( "%.4f",$Debug->endTimer() );
echo $load ;
?>
page views u would just use
juts put that where u wnat to have hist diplayed. aslo in teh same directry creat a .txt document called hits so hits.txt and chmod it to 777.PHP Code:<?php
$fp = fopen ( "hits.txt" , "r" );
$count = fread ( $fp , filesize( "hits.txt" ));
fclose ( $fp );
$count ++;
$fp = fopen ( "hits.txt" , "w" );
fwrite ( $fp , $count );
fclose ( $fp );
echo $count ;
?>
I tryed it, But how i make a php page Or like the tag for a php code? i forgot:(
just have the page as index.php rather than .htm etc. then its just normal html on it, exspet stuff between
<?php
?>
tags
You can't put php on html page??
nope, but u can put html on a php page.
Only way u could run php of a html page would be by chaning apachie fiels to runn html as php documents "/ but u cnat do that unless u hsoting u self "/
Sounds to tricky, I'm just looking for something basic
I've already got A poll and shout box look Click here
I'm looking for webstats like that just as simple, sign up get code = happy chap, Any ideas?
none that can give you the stats you wanted, hit counters best u can do for remotly hosted. "/
YAY, I got one i like:), Does it look alrighty, Thanks for your help Mentor rep added:)