Music File Download Restriction

images php coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län

Post by Alexej Kubarev » Wed Jun 22, 2005 4:55 am

possibly you will have to use .htaccess (restrincting access to the file via browser)
and when user clicks on download, read the file with php and force-download it :)
the link might have to be something like donwload.php?id=2332556

where id corresponds to that file... or maybe download.php?file=test.mp3

its up to you to decide..

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest