When you serve a document from a Web server, you might want to immediately
prompt the user to save the file directly to the user's disk, without
opening it in the browser. However, for known MIME (Multipurpose Internet
Mail Extensions) types such as Microsoft Word ("application/ms-word"), the
default behavior is to open the document in Internet Explorer.

You can use the content-disposition header to override this default
behavior. Its format is:

Content-disposition: attachment; filename=fname.ext
http://support.microsoft.com/support/kb/articles/Q260/5/19.ASP

--
Kind regards,
Yuri.

>>>> www.AceHoster.com <<<< Quality web hosting


"Declan Kenny" <[EMAIL PROTECTED]> сообщил/сообщила в новостях
следующее: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi folks,
>
> Ok I am trying to make a download area for files (including word files).
> How do I force a download of a word document rather than have it opening
in
> IE?
>
> Declan
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to