Page 1 of 1

PHP text hit counter questions

Posted: Sun Oct 09, 2005 8:24 pm
by Maxtor
Script URL: N/A
Version of script: N/A
Version of PHP: N/A
Hosting company: N/A
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try: N/A

Write your message below:

Hi,

Does this script also count for unique visits? IE - Below…

Total Visits: 100
Unique Visits: 15

I used to use a script called X-Stats on my old website and made it work to display the above stats on the website. At first it work great and loaded fast, but after awhile the text file where it logged the unique visitor info grew to well over 10MB, this drastically slowed down the page load time. Thus, why I stopped using it…

Could you add this feature to your script? If yes, would you also have the same problem with the load time as the text file size grows larger?

Thank you

Posted: Mon Oct 10, 2005 11:37 am
by Klemen
Hi,

Perhaps I'll add this someday, but if I do wont log any info for sure. One of the reasons is like you mentioned file growing too large and the other important one is dynamic IP numbers (won't go in details here).

Regards

Posted: Wed Oct 12, 2005 3:57 am
by Maxtor
Hi,

How can you not log any info? I mean, how will the script know the user has been there before?

Also, if I made a small payment could you make the needed changes to add this?

Thank you

Posted: Thu Oct 13, 2005 2:52 pm
by Klemen
It does log "some" info, but only as a very small file with only a few bytes of code. The only thing that is logged is the current number, for example "1234". And when the next visitor comes script deletes "1234" and writes "1235" to the file. That's it.

For any customization please contact me via the contact form. As much as I would like to help everybody for free I simply cannot due the share number of requests I am getting.

Regards