This works for me:
 
I'm using pdf stuff here, but you can set the content type to whatever you want.

$r->content_type('application/pdf');
$r->header_out("Content-Disposition" => "attachment; filename=order.pdf");
$r->send_http_header();

Marc Slagle

 
----- Original Message -----
From: "Dennis Daupert" <[EMAIL PROTECTED]>
Sent: Wednesday, November 20, 2002 10:10 AM
Subject: Re: How do I force a 'Save Window?'

>
> Thanks all for the great suggestions. This group is wonderfully helpful.
> I tried the quick route, setting MIME type to "application/octet-stream,"
> and that works fine for xl spreadsheets, but I still get the same behavior
> as before with MS Project files (browser IE 5.00.3105.0106, which is one
> of the IE versions we have to support). I will need a bit more time to try
> some of the other more involved ideas , so that won't be for a few more
> days.
>
> /dennis
>
> ---------------------------------------------------------------------------
> Office phone: 817-762-8304
>
> ---------------------------------------------------------------------------
>  "Great leaders never tell people how to do their jobs.
>    Great leaders tell people what to do and establish a
>          framework within which it must be done.
>           Then they let people on the front lines,
>        who know best, figure out how to get it done."
>             ~ General H. Norman Schwarzkopf
>
>
>
>
>

Reply via email to