Bill Smith wrote:
> I run a community website which currently offers free downloads of
> community photos for personal use.
> I notice that many websites offering free downloads can announce the
> number of times each item has been downloaded.
> Can anybody tell me how this count is achieved?
> TIA
> Bill S
>
Our hosting company provides very full webstats, but can't seem to
distinguish between an image viewed on-screen and an image physically
downloaded to the visitor's computer HD, and none of the many other stat
analysing tools I've looked at seems able to do this either.
Karl: Your solution looks promising, but you write:
> A PHP script prints all this stuff to the screen as well as a link to a
> script that counts the downloads (incrementing the 'count' field in the
> database) and then redirects the user to the location of the file.
Could you point me to the PHP code source, please, and/or explain how
you detect that the file has been downloaded rather than just viewed?
Thanks for all suggestions posted,
Bill S.
PS:
Maybe I should have explained "community" better: it's not something
like MSN but a local community website (in fact, a UK community council)
and the photos are of our annual children's gala ceremonies, parade etc.<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Download count for website