I need to know what to change in above code that would work with url not with filename.
I don't wanna use it for mp3's but for pdf/doc files, so hidding link like www.xxx.xxx
is not my problem.
My problem is how to replace/change that line:
header ("Content-Disposition: attachment; filename=$saveName");
with something like this:
header ("Content-Disposition: attachment; URL
So once again; I have a download link, after I click it I want to get an option like "Save as". My link is basicly just a link to other site's link where is some pdf.
Could you please corect the above code for me?