title: How to make a download page
body: <p>I'm excited on how to do the download page similar to premiumpixels.com</p>
  
  <p>Example - <a href="http://www.premiumpixels.com/freebies/custom-audio-player-skin-psd/" rel="nofollow">http://www.premiumpixels.com/freebies/custom-audio-player-skin-psd/</a></p>
  
  <p><strong>If we click on "download":</strong></p>
  
  <p>1) page reloads to url like <code>premiumpixels.com/download/?file=audio-player</code></p>
  
  <p>2) after some timeout download begins.</p>
  
  <p>3) file downloads from <code>cdn.premiumpixels.com/uploads/audio-player.zip</code></p>
  
  <p><strong>How do I make the same? How its done on php?</strong></p>
  
  <p>Also, I would like to send some mysql request when download page is opened, to update file downloads stats.</p>
  
  <p>Thanks.</p>