title: Readfile issue PHP
body: <p>I'm using the following :</p>
  
  <pre><code>@header("Cache-Control: no-cache, must-revalidate");
  @header("Content-Type: application/octet-stream");
  @header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
  @header("Content-Length: ".$row['file_size']);
  @header("Content-Disposition: attachment; filename=\"".$row['artist'] . " - " .$row['title']."\"");
  @header("Content-type: audio/mpeg;\r\n");
  </code></pre>
  
  <p>to start a download, now for some reason its giving me </p>
  
  <p><b>Warning</b>:  readfile(http://theurl.com/downloads/the file some spaces.mp3) [function.readfile]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
   in <b>/home/belgin/public_html/dl.php</b> on line <b>29</b><br /></p>
  
  <p>now the url is valid, I've triple checked but could it be because there's spaces in the file name? And if so how can i fix that? Thanks</p>
  
  <p>reafile line :</p>
  
  <pre><code>readfile(http://domain.com/downloads/Warp 1.9_The Bloody Beetroots_320000.mp3)
  </code></pre>