Re: FN-FORUM: Tracking MP3 downloads
date posted 1st March 2004 13:46
Paul J White [EMAIL REMOVED] wrote:
> What would be the simplest way to count the number of times an MP3
> file is downloaded? We don't need to know who or when etc. It is the
> client's idea to offer original music in return for a donation, but we
> want to run a trial to see what % of people are playing fair. Any
> thoughts?
HREF="download.php?media=music.mp3"
and make your PHP code (or ASP or whatever) record the download somehow,
either to a log file or database, and then generate an HTTP redirect to
the real location, or generate the right content-type header, and stream
the binary data out.
-Paul-
--
Paul Civati www.xensia.net
Xensia, London UK - Quality UK Hosting Services - 0870 321 2855