title: fwrite() error, operation not permitted
body: <p>Basically, my code should work because it works when I run the website locally. Though, when I upload it to the dedicated server, it will show these errors:</p>
  
  <blockquote>
    <p>Notice: fwrite(): send of 15 bytes failed with errno=1 Operation not permitted 
    in /home/advancegzw/www/folder/include/SampQueryAPI.php on line 72</p>
    
    <p>Notice: fwrite(): send of 15 bytes failed with errno=1 Operation not
    permitted in /home/advancegzw/www/folder/include/SampQueryAPI.php on
    line 72</p>
    
    <p>Notice: fwrite(): send of 15 bytes failed with errno=1 Operation not
    permitted in /home/advancegzw/www/folder/include/SampQueryAPI.php on
    line 72</p>
  </blockquote>
  
  <p>Line 72 is fwrite() obviously:</p>
  
  <pre><code>fwrite($this-&gt;rSocket, $sPacket);
  </code></pre>
  
  <p>Is there a possibility that the hosting company blocked outgoing UDP? Or is there another cause?</p>