title: fwrite() not permitted, but phpinfo() says it should be
body: <p>I am getting the following from a script I am trying to run:</p>
  
  <pre><code>Notice: fwrite() [function.fwrite]: send of 7 bytes failed with errno=1 Operation not permitted in /home/thrawn/public_html/sorcero.us/MinecraftQuery.class.php on line 165
  </code></pre>
  
  <p>However, when I check phpinfo(), allow_url_fopen is on and Sockets Support is Enabled. I haven't been able to find anything pointing me to what might be causing this.</p>
  
  <p>For clarification, I did not write this script. My knowledge of PHP is mostly just the basics, but I know enough to reason that this should be working since phpinfo() says the correct things are permitted. The script in question is here: <a href="https://github.com/xPaw/PHP-Minecraft-Query/blob/master/MinecraftQuery.class.php" rel="nofollow">https://github.com/xPaw/PHP-Minecraft-Query/blob/master/MinecraftQuery.class.php</a></p>