On Fri, May 22, 2009 at 1:36 PM, Dee Ayy <dee....@gmail.com> wrote:
> Acceptable results, but could be better.
> basename works correctly for only Safari (filenames with spaces are
> 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.
> 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.
Cat, the other other white meat