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