title: Php read file contents of network share file
body: <p>I'm looking for a way to read the file contents of a file located on a network share.  I can use the IP Address of the share host and the share folder to get to the location but I don't know the correct command and syntax to do that file_get_contents? fopen? </p>
  
  <pre><code>$text = fopen('//128.251.xxx.xxx/Common/sample.txt', 'r');
  </code></pre>
  
  <p>or something like that?</p>
  
  <p>UPDATE*
  I also cannot access the file through a browser window although I know the file is located in that exact directory...</p>