Script URL:
Version of script: 1.1
Version of PHP:
Hosting company:
Have you searched THIS FORUM for your problem: yes
(if not please do before posting)
If so, what terms did you try: i searched manually(not using the search feature)
Write your message below:
Hi,
i have installed PHP Click counter 1.1 on a linux server, and everything seemed to go well, until i realized that not every clicked was recorded.
Well, basically, if i reset one of the added links to zero, and test it again, new clicks won't be recored unless i log out and log in again.
This is weird and i have been performing many tests and i found that also resetting links to zero does this, it does not do it all the time.
I haven't searched the code yet, but could it be that my ip as well as the time between clicks on the same link are being recorded and yet prevent some of the clicks to be counted properly?
thank you,
wd
php click-counter not counting everytime a link is clicked..
-
- Posts: 1
- Joined: Thu Dec 08, 2005 2:58 pm
Maybe the link is cached in your browser? Try clearing temporary internet files between tests.
Regards
Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Hi,
and thanks for your quick reply.
Well, i have been clearing ie's cache every time using Disk Cleaner and i am used to clearing cache issues anyway thanks to the fact that i myself am a php developper but then what i say is that it isn't such a big deal as login out and login in again does the trick it seems anyway.
Now, as i searched the forum for help, i soon got the feeling that there was a concern about the amount of traffic click-counter was able to handle. Then i remember having read somewhere something you wrote which was that click-counter was never meant to support huge amounts of traffic.
Knowing that there currently are 1400 to 1600 visits a day a least on my site, would it be safe to say that this is a bit too much traffic for a software that does not rely on a database and in that case, the amount of traffic i am dealing with every day would be responsible for the problems i have encountered so far?
Since approximatively 3h36pm this afternoon i have had 272 clicks for a total of 8 links. And right now is 7:51pm.
This is the kind of traffic i get in the afternoon(here in Paris). Traffic would be a much higher at night though.
Regards,
wd
and thanks for your quick reply.
Well, i have been clearing ie's cache every time using Disk Cleaner and i am used to clearing cache issues anyway thanks to the fact that i myself am a php developper but then what i say is that it isn't such a big deal as login out and login in again does the trick it seems anyway.
Now, as i searched the forum for help, i soon got the feeling that there was a concern about the amount of traffic click-counter was able to handle. Then i remember having read somewhere something you wrote which was that click-counter was never meant to support huge amounts of traffic.
Knowing that there currently are 1400 to 1600 visits a day a least on my site, would it be safe to say that this is a bit too much traffic for a software that does not rely on a database and in that case, the amount of traffic i am dealing with every day would be responsible for the problems i have encountered so far?
Since approximatively 3h36pm this afternoon i have had 272 clicks for a total of 8 links. And right now is 7:51pm.
This is the kind of traffic i get in the afternoon(here in Paris). Traffic would be a much higher at night though.
Regards,
wd
Hi,
Quite possible the traffic could be the problem. I've said it before and I will say it again: text databases are not suitable for high traffic sites.
272 clicks in 4 hours normally shouldn't be a problem, but if 10 of these clicks are made within the same second it could be a problem. Hard to say, it mostly depends on the server hardware and setup.
If you also display the number of clicks with the Javascript code to each visitor it adds up to text database load and increases possibility of errors.
With about 1500 visitors per day I would definitely recommend you to find a script that uses a SQL database (I don't know of any myself though).
Regards
Quite possible the traffic could be the problem. I've said it before and I will say it again: text databases are not suitable for high traffic sites.
272 clicks in 4 hours normally shouldn't be a problem, but if 10 of these clicks are made within the same second it could be a problem. Hard to say, it mostly depends on the server hardware and setup.
If you also display the number of clicks with the Javascript code to each visitor it adds up to text database load and increases possibility of errors.
With about 1500 visitors per day I would definitely recommend you to find a script that uses a SQL database (I don't know of any myself though).
Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools