failed to open stream: Invalid argument
<p>In this code :</p>

<pre><code>$path = "C:\NucServ\www\vv\static\arrays\news.php";
  $fp = fopen($path, "w");
  if(fwrite($fp=fopen($path,"w"),$text))
  {
    echo "ok";
  }
  fclose($fp);
</code></pre>

<p>I have this error message:</p>

<pre><code>failed to open stream: Invalid argument
</code></pre>

<p>What is wrong in my code?</p>
