I am developing in php and trying to implement a download counter to count the times that users downloaded my application.. I also read the following topics:
Best way to implement a download counter?
Best way to count file downloads on a website
and found nothing useful enough..
What I would like to ask is: what kind of download counter the big companies implement? is it when the user cancels the download doesn't count?
Is it even possible - to count file downloads, and remove 1 from the count if the user canceled the download?
I already have a script that works great - but only when开发者_运维问答 the file is 1MB or upper, when its less than a 1MB and a user cancels the download - the download still counts..
Thanks in advanced, Din.
Nobody cares about canceled downloads (and in fact, bigger number looks cooler for management & users).
It is just counted via dummy redirect/logs analyzing.
No rocket science.
精彩评论