Re: IE can't download, FF can: SSL ? Need special headers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux