title: fwrite not writing
body: <pre><code> $fp = fopen('log.txt', 'w');
   fwrite($fp, 'Missing gallery image for: ' . $row['toolbar_id'] . '\n');
  </code></pre>
  
  <p>The code above is not writing to the file.  the <code>$row['toolbar_id']</code> is a value from a for each loop.  Any suggestions?  There is no PHP error, as the file does open as I have debugged that part.</p>