Re: IE can't download, FF can: SSL ? Need special headers?
| From: | Bastien Koert | Date: | Fri, 22 May 2009 18:21:12 +0000 |
| Subject: | Re: IE can't download, FF can: SSL ? Need special headers? | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-292977@lists.php.net to get a copy of this message | ||
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