Closed Thread Icon

Topic awaiting preservation: Referer & statics and counter (Page 1 of 1) Pages that link to <a href="http://ozoneasylum.com/backlink?for=12318" title="Pages that link to Topic awaiting preservation: Referer &amp;amp; statics and counter (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Referer &amp; statics and counter <span class="small">(Page 1 of 1)</span>\

 
Wakkos
Maniac (V) Mad Scientist

From: Azylum's Secret Lab
Insane since: Oct 2000

posted posted 07-19-2002 12:43

Hello! I've seen some scripts to see where the visits to your site come from, and counter ans a lot of statics, but I have no Idea on how to make somethig like this, in PHP would be better.

And if you know someone ready to work, would be perfect, so I can check code and all that.....

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 07-19-2002 13:01

You can get such script from here: http://www.hotscripts.com/PHP/Scripts_and_Programs/Counters/

BTW The best statistics are those generated directly from server log files with a little help from log analyzing software like ModLogAn, AWStats, WebAzlier, etc...


Wakkos
Maniac (V) Mad Scientist

From: Azylum's Secret Lab
Insane since: Oct 2000

posted posted 07-19-2002 13:30

Oh! i though counters where just that: to count visits.....

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 07-19-2002 15:55

Counters do count visits. But stay away from remotely hosted counters. They're slow and unreliable. As Mr. Max mentioned, use something like Webalizer to display stats about everything. It's quite nice.

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 07-19-2002 17:16

if you are satisfied with a simple text-file based counter:

<?php
$counter_file = "counter.txt";
$counter_file_line = file($counter_file);
$count;

$counter_file_line[0]++;

$count = fopen($counter_file, "w");

fputs($count, "$counter_file_line[0]");

fclose($count);

echo $counter_file_line[0];
?>

i would have a similar script for referrers if you want to.

btw, wakkos, wanna translate something? http://www.ozoneasylum.com/Forum11/HTML/000432.html

Wakkos
Maniac (V) Mad Scientist

From: Azylum's Secret Lab
Insane since: Oct 2000

posted posted 07-20-2002 01:18

Translation done!
=)

I actually don't want neither a counter or a remotly hosted stats.

I would like to have just the referers for now. a page where you can read the referers page, and I can add the counter from the Grumble's script written above.



GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 07-20-2002 18:02

maybe this helps you:
http://www.wapod.com/~grumble/misc/lgf-referrers.zip

i think i have this originally from sash.

Wakkos
Maniac (V) Mad Scientist

From: Azylum's Secret Lab
Insane since: Oct 2000

posted posted 07-20-2002 20:57

Cool!! thank you GRUMBLE, I was using this: http://www.hotscripts.com/Detailed/13331.html
But I'm testing that one right now!

« BackwardsOnwards »

Show Forum Drop Down Menu