Posted by Dan on 02/05/06 01:27
Jim Michaels wrote:
> for a file download to be forced, you are going to have to send headers
> before the file is sent out. you will need ASP or PHP. taken from
> http://www.php.net/manual/en/function.header.php
That still won't *force* anything, only suggest it.
> <?php
> // We'll be outputting a PDF
> header('Content-type: application/msword'); //or application/vnd.ms-excel
If you're outputting a PDF, then it wouldn't make very much sense to
send the content-type header for MS Word or Excel, would it?
> "W. de Jonge" <w.de.jonge@hotmail.com> wrote in message
> news:4832a$42fdf95a$d47fab21$18030@cache30.multikabel.net...
Don't top-post.
--
Dan
[Back to original message]
|