pftq.com
Welcome! Please Login or Register!
November 21, 2024, 04:42:29 PM
Home Login Register
pftq Forums  |  Software and Scripts  |  Other Scripts and Tools  |  TXT counter avarage visits pro day? 0 Members and 1 Guest are viewing this topic. « previous next »
Latest News!Lunar Trigger(Aug 27, 2023)
Pages: [1] Print
Author Topic: TXT counter avarage visits pro day?  (Read 4947 times)
matjaz
Member
*****
Offline Offline

Posts: 2

« on: March 18, 2007, 11:15:08 AM »

Hi,

I have a question if is possible to modify txt counter to display

avarage visits pro day

Thanks
 Wink
Logged
pftq
Administrator
*****
Offline Offline



Posts: 4204

WWW
« Reply #1 on: March 18, 2007, 11:20:12 AM »

It already does that. Smiley

Look at the sample HERE.

Check the readme and file.  There should be a description on how to display average per day. Smiley
Logged
matjaz
Member
*****
Offline Offline

Posts: 2

« Reply #2 on: March 18, 2007, 11:56:20 AM »

It already does that. Smiley

Look at the sample HERE.

Check the readme and file.  There should be a description on how to display average per day. Smiley


Aha, i suppose it could be calculated from hits/month, if are hits/month  90 then is hit average pro/day 3?

 I have another question, could the size of file ips.txt become very big (>1Mb) in short time period?
« Last Edit: March 18, 2007, 11:58:05 AM by matjaz » Logged
pftq
Administrator
*****
Offline Offline



Posts: 4204

WWW
« Reply #3 on: March 18, 2007, 12:33:29 PM »

Ah I see what you are asking.

The output are numbers, so you should be able to do something like [variable]/31 for month etc.

The IPs file contains all visitors specified by how long you want one visitor to remain counted.  For example, if you set duration to 24 hours, the ip file only holds visitors from the last 24 hours.  But then after 24 hours, the visitor will be recounted (because it is not in the file; no other way to check).

How big will the file get? It depends on the duration.  (if you held visitors in record for a year, it'll get big eventually).  The sample one on this site currently had 10 visitors in record; it takes up less than 1kb (900 bytes).
Logged
Pages: [1] Print 
pftq Forums  |  Software and Scripts  |  Other Scripts and Tools  |  TXT counter avarage visits pro day? « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2007, Simple Machines | RSS Feed Valid XHTML 1.0! Valid CSS!
Page created in 0.152 seconds with 21 queries.