Simple enough question I hope.
I am using the following type of code to force download:
if ($ext = ppt){
header("Content-disposition: attachment; filename= '$filename'");
header('Content-type: application/vnd.ms-powerpoint');
readfile('$file');
However, what I really need, is to force the download AND redirect to a new page.
The previous script is currently ON the page I want to redirect to. I have a link to that page. What I want is so that, as the user goes their it forces the download. However, right now what I get is, that INSTEAD of the user seeing the page it ONLY forces the download.
Thanks!