Jump to content

php freelancer

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by php freelancer

  1. I just found the answer to my question with a little more searching.The solution is to create a php file like so

    <?header('Content-type: audio/mpeg');header('Content-Disposition: attachment; filename="audioclip.mp3"');?>
    Then just link to the php file
    <a href="download.php" target="_blank">Download MP3</a>
    Hope this helps someone else in the future.

     

     

    Thanks for this help.

×
×
  • Create New...