Re: Re: [PHP] Spaces in filename or path

From: Date: Sat, 30 Apr 2011 22:02:00 +0000
Subject: Re: Re: [PHP] Spaces in filename or path
Groups: php.general 
Request: Send a blank email to php-general+get-312603@lists.php.net to get a copy of this message
On 30 Apr 2011 at 22:33, Richard Quadling <rquadling@gmail.com> wrote: > On 30 April 2011 22:07, Tim Streater <tim@clothears.org.uk> wrote: >> Does it matter to PHP filesystem functions if a path/to/file/name contains >> spaces? IOW, is this handled OK by design or should I replaces such spaces by >> backslash-space or would doing that present problems? >> >> Thanks  --  tim > > On Windows, PHP will happily access files and directories with spaces... Richard, I'll be doing this under OS X. I will be passing such paths/names to shell scripts too, but AIUI I can use escapeshellarg () there. As long as PHP filesystem functions don't have a problem then I should be OK. Cheers -- tim

« previous php.general (#312603) next »