This really doesn't work well to say the least... I've had endless problems
with it, and basically just using headers there is no great way to to it.

The best solution I found is to use the mod_rewrite module in apache to map
a url onto the script.

----- Original Message -----
From: "Franklin van Velthuizen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 07, 2001 4:02 PM
Subject: [PHP] Re: Suggesting a file name.


>
> "Theodore Brinkman" <[EMAIL PROTECTED]> wrote in
> message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I wrote a small script to generate an image file containing a version
> number
> > for use in some web apps we are coding at work.  The problem is, that
with
> > an up-to-date version of IE, the image shows up and can only be saved as
a
> > BMP.  Older versions don't display it, but prompt for download and save
it
> > correctly.  No problems in Mozilla (or presumably in Netscape 4.7x
> either).
> >
>
> Try:
> header("Content-Disposition: filename=$filename");
>
> / Franklin
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to