Can't clear a .log file, "permission denied"
<p>I have a little problem.
I have a skype resolver but my Debug file does get bigger and bigger.</p>

<p>How can i clear this?
I have this with PHP:</p>

<pre><code>    &lt;?php

 $fp = fopen("skype/debug-20130331-0951.log",'w+');
 if(!$fp)
    echo 'not Open';

 while(!feof($fp))
     {
        fputs($fp,' ',999);                    
     } 

 fclose($fp);

?&gt;
</code></pre>

<blockquote>
  <p>Warning: fopen(skype/debug-20130331-0951.log) [function.fopen]: <strong>failed to open stream: Permission denied</strong> in C:\xampplite\htdocs\clear.php on line 3</p>
</blockquote>

<p>How can i fix this?</p>
