title: file_get_contents() on network fails. Php - windows 7
body: <p>I've been searching the internet for the solution but I still can't find the answer on copying through file network using php.
  Please see my sample code ang its output:</p>
  
  <pre><code>&lt;?php
  $source = ("file://///server/path/file.txt");
  $destination = 'sample.txt';
  $data = file_get_contents($source);
  $handle = fopen($destination, "w");
  if(fwrite($handle, $data)){
  echo "success";
  fclose($handle);
  }
  else
  {
  echo"failed";
  fclose($handle);
  }
  ?&gt;
  </code></pre>
  
  <p>Web output:<br>
  failed</p>
  
  <p>destination folder output:<br>
  sample.txt with blank contents.</p>
  
  <p>I granted permission to access the file and is available to access using my network. and is using Windows 7 platform
  it is very much easy copying a file from your local drive.
  what must I do to be able to copy the file from the server?
  I even tried <code>\\(computername/ipaddress)\path\file.txt</code> but not worth it. I just make use of google for that said code.</p>
  
  <p>Thanks in advance</p>