in reply to Re: displaying excel/pdf files in browser
in thread displaying excel/pdf files in browser

I've used Content-Disposition for both .ZIP and .EXE. Works like a charm. The user will be prompted to download the file, the the filename will be set to the value of $name.

Of course, this doesn't help any with the original problem of displaying .XLS and .PDF files in a web browser...

  • Comment on Re: Re: displaying excel/pdf files in browser

Replies are listed 'Best First'.
Re: Re: Re: displaying excel/pdf files in browser
by gellyfish (Monsignor) on Feb 27, 2002 at 21:10 UTC

    I have found Content-Disposition specific to certain browsers - it is usually only Explorer that ignores the Content-Type in favour of the file extension ...

    /J\