For example, if I set some headers to download a file from my server I would do
header('Content-type: application/pdf');
header('Content-Disposition: attachment; filename="downloaded.pdf"');
And then just output the data of the file
Is it possible to set a remote url in the Content-Disposition?
Example header('Content-Disposition: attachment; filename="http://remote.location/downloaded.pdf"
);
Or am I just thinking about it in the wrong way?