I have a website that plays mp3s in a flash player. If a user clicks \'play\' the flash player automatically downloads an mp3 and starts playing it.
Is there an eas
If your song / binary file was served by apache, you can easily grep the access_log to find out the number of downloads. A simple post-logrotate script can grep the logs and maintain your count statistics in a db. This has the performance advantage by not being in your live request code path. Doing non-critical things like stats offline is a good idea to scale your website to large number of users.