Image filenames with white space
<p>I get an array of image URL by php scanning image folders. Some of the image file names have white space. The part after white space got lost. for example:
This file is fine:</p>

<pre><code>http://domain.com/folder/blue-sky.png
</code></pre>

<p>This file will lost the part sky.png</p>

<pre><code>http://domain.com/folder/blue sky.png
</code></pre>

<p>My code for scanning the folder has nothing to do with checking or manipulating file names. How can I get the full name of  <code>blue sky.png</code> without rename it to <code>blue-sky.png</code>?</p>
