Miscellaneous > The Lounge

My new hit counter

<< < (4/5) > >>

Calum:
yeah, dumbass, it doesn't take a genius to see that YOUR POXY COUNTER SHOWS EVERYBODY SUPPOSEDLY USES MOZILLA, AND YOU CAN'T WRITE A HIT COUNTER FOR SHIT!!!

Sorry, but i am not convinced when you can't even get them not to register as mozilla.

And upgrade your brain.

Kintaro:
Looks quite simple to me:
 
quote:
#!/usr/bin/perl
use CGI::Carp qw(fatalsToBrowser);CORE: pen(FILE,"hits.txt");@hits=<FILE>;CORE::close(FILE);$i=0;foreach$curentry(@hits){($!,$agent[$i])=split(/\|/,$curentry);$i++}for($i=0;$i<@agent;$i++){$agent{$agent[$i]}++}$i=0;while(($key,$val)=each(%agent )){$newagent[$i]=[$key,$val];$i++}@newagent=sort{if($a->[1]eq$b->[1]){return$a->[0]cmp$b->[0]}else{return$b->[1]<=>$a->[1]}}@newagent;print"Content-type: text/html\n\n<table BORDER=1>";for($i=0;$i<@newagent;$i++){if($newagent[$i]->[0]=~/\S+/){print"<tr><td>$newagent[$i]->[0]</td><td ALIGN=RIGHT>$newagent[$i]->[1]</td><td><img SRC=http://www.yabbforum.com/YaBBImages/bar.gif WIDTH=$newagent[$i]->[1] HEIGHT=15></td></tr>"}}print"</table>"

--- End quote ---

The source for gooseberrys tracker

Kintaro:
What are you going too do about your broken tracker goosey??????????

Master of Reality:
My hit counter from sitemeter only shows IE or Netscape... All non-IE are considered netscape for some reason.... but here is the chart:
(the newest Mozilla is considered Netscape 5.X)


[ July 04, 2002: Message edited by: Master of Reality / Bob ]

pkd_lives:
Keep it up, maybe you can record the decrease in use of IE over time. Come see how fast people are switching.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version