NYCPHP Meetup

[nycphp-talk] Redirect

Alexander alex at pilgrimstudio.com
Fri Feb 17 16:13:42 EST 2006


Hello,

I was wondering if anybody know how to redirect client or show him nice
html-page, after download complete?

Download is forced through headers:

------

header("Content-disposition: attachment; filename=$fname");
header("Content-Type: application/force-download");
header("Content-Transfer-Encoding: binary");
header("Content-Length: ".filesize($fname));
header("Pragma: no-cache");
header("Expires: 0");

...
-------

if it matters...



-- 
Best regards,
Alexander






More information about the talk mailing list