Re: IE can't download, FF can: SSL ? Need special headers?
| From: | Ashley Sheridan | Date: | Fri, 22 May 2009 19:28:05 +0000 |
| Subject: | Re: IE can't download, FF can: SSL ? Need special headers? | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-292983@lists.php.net to get a copy of this message | ||
On Fri, 2009-05-22 at 13:26 -0500, Dee Ayy wrote:
> >> Thoughts?
> >>
> >> --
> >
> > what about just CamelCasing the name? no spaces.
> >
> > --
> >
> > Bastien
>
> I've asked the user to use underscores, but they really shouldn't have
> to. Safari gets it right.
>
I've found that
header("Content-Disposition: attachment; filename=\"$filename\"");
seems to work for me
note, that's untested as i wrote it there, but i had a similar problem
at work and found that enclosing the filename in double quotes worked
for all the browsers i tested on.
Ash
www.ashleysheridan.co.uk