title: cannot edit any php files using specific functions
body: <p>I cannot update any txt files using php. When I write a simple code like the following:</p>
  
  <pre><code>&lt;?php 
  
  // create file pointer 
  $fp = fopen("C:/Users/jj/bob.txt", 'w') or die('Could not open file, or fike does not                exist and failed to create.'); 
  
  $mytext = '&lt;b&gt;hi. This is my test&lt;/b&gt;'; 
  
  // write text to file 
  fwrite($fp, $mytext) or die('Could not write to file.'); 
  $content = file("C:/Users/jj/bob.txt");
  
  
  // close file 
  fclose($fp); 
  
  ?&gt;
  </code></pre>
  
  <p>Both files do exist in the folder. I just cannot see any updates on bob.txt. </p>
  
  <p>Is this a permission error in windows? It works fine on my laptop at home. I also cannot change the php files on my website, using filezilla. </p>