php - what kind of download counter big websites companies have?
Posted
by
dinbrca
on Stack Overflow
See other posts from Stack Overflow
or by dinbrca
Published on 2011-01-09T02:23:49Z
Indexed on
2011/01/09
2:54 UTC
Read the original article
Hit count: 215
Hi, 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.
© Stack Overflow or respective owner