title: PHP file read not working
body: <p>On a server I have the file some.php. I try to read the contents using <code>file_get_content</code> and <code>fread</code>. Both these don't read my content.</p>
  
  <p>If I try some other URL like yahoo.com, these functions are reading the contents. Why does this happen?</p>
  
  <pre><code>$my_conetn =  file_get_contents("http://example.com");
  echo $my_conetn;
  </code></pre>
  
  <p>The above snippet is not working.</p>
  
  <pre><code>$handle = fopen($filename, "r");
  $contents = fread($handle, 20);
  echo $contents;
  fclose($handle);
  </code></pre>
  
  <p>Also the above snippet is not working.</p>
  
  <p>How to check my server? Is there any file read operation locked or not?</p>
  
  <p>edit: I am not sure, but it is only my server file that can't be read. I can read the other server links. So I contact my hosting provider, then I get back to you guys/gals.</p>