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

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

 



or even just str_replace(' ' , '_', $name) consistent and works, no?

On Fri, May 22, 2009 at 2:21 PM, Bastien Koert <phpster@xxxxxxxxx> wrote:

> On Fri, May 22, 2009 at 1:36 PM, Dee Ayy <dee.ayy@xxxxxxxxx> 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
>

[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