I can download remote files using PHP but how do you download from a link that pushes headers out? I mean, you can click on some links and it will force a download and prese
You can do it the same way as you download your remote files. Those “force download” header values just tell user agents that want to display the data inline to download them instead. But it makes no difference for your script as it cannot display the data.