Redirect mirror download using PHP
Posted on 2013-06-21
I am trying to do a redirect to a file download using PHP. I am having a bit of trouble getting started.
Basically I have 5 files I want to download. Each one has a download button, when the download button is pressed it redirects them to a php page that redirects them to where the file actually lives so they can download it.
I am looking for a similar option that you see in multiple download sites. When you download a file it redirects you to a page that says "Your download will begin soon. If not, click here".
Basically like a mirror.
This also doesn't have to been done in php if there is another alternative.
Any help would be great.