Web Analytics Made Easy -
StatCounter mp3 downloads - CodingForum


No announcement yet.

mp3 downloads

  • Filter
  • Time
  • Show
Clear All
new posts

  • mp3 downloads

    I want to setup an app on my site that emails a buyer a license key and url, and then that person visits the url and enters the key and is able to download a record. However, after that key is entered it becomes invalid -- i.e. it is a one-time use kind of thing.
    I can figure out how to email the license key and url, it's programming the form to enter the key and direct to the download that I need help with.

    If anyone downloaded Radiohead's 'In Rainbows' with the pay-what-you-want deal, its very similar to how that worked.


  • #2
    I'd imagine you'd need a database of valid keys, if the key entered matches a key in the database the user is directed to the file (obviously you have to use validation here) and if the file is successfully downloaded the key should be set to expired in the database.