Re: IE can't download, FF can: SSL ? Need special headers?
| From: | Eddie Drapkin | Date: | Fri, 22 May 2009 18:24:09 +0000 |
| Subject: | Re: IE can't download, FF can: SSL ? Need special headers? | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-292978@lists.php.net to get a copy of this message | ||
or even just str_replace(' ' , '_', $name) consistent and works, no?
On Fri, May 22, 2009 at 2:21 PM, Bastien Koert <phpster@gmail.com> wrote:
> On Fri, May 22, 2009 at 1:36 PM, Dee Ayy <dee.ayy@gmail.com> wrote:
>
> > Acceptable results, but could be better.
> >
> > basename works correctly for only Safari (filenames with spaces are
> > correct).
> > FF truncates the name starting with the first space.
> > IE puts an underscore in place of a space.
> >
> > urlencode puts a plus sign in place of a space for all 3 browsers.
> >
> > But I've always had a note telling the user to rename the file to
> > something useful, so I'll keep basename and not check the agent.
> >
> > Thoughts?
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> what about just CamelCasing the name? no spaces.
>
> --
>
> Bastien
>
> Cat, the other other white meat
>