|
Posted by Patrick Buxton on 09/28/66 11:48
Thanks, but it still does exactly the same as before, outputs the text to
the browser!!
I just don't understand it, not just IE either, firefox doesn't force a
download either!!
"robert" <ab@no.spam-alama-ding-dong> wrote in message
news:qfZcg.1$qy5.0@fe05.lga...
>
> "Patrick Buxton" <patrick.buxton@redrow.co.uk> wrote in message
> news:Xr2dnTCd-bOgZe7ZRVnygw@pipex.net...
> | No joy with that I'm afraid, still the same result, thanks anyway
>
> try this for your header section:
>
> header('pragma:
);
> header('expires:
);
> header('cache-control: private',
);
> header('cache-control: must-revalidate, post-check=0,
ck=0' );
> header('content-disposition: attachment; filename="' . $fileName .
);
> header('content-size: ' .
);
> header('content-transfer-encoding:
);
> header('content-type:
);
> // echo out your data here
>
>
Navigation:
[Reply to this message]
|