editing a file on external server with php
<p>I am trying to edit an external file. I have changed file's chmods (666) and I can read the file using file_get_contents but i am unable to put content:</p>

<blockquote>
  <p>[function.file-put-contents]: failed to open stream: HTTP wrapper does not support writeable connections</p>
</blockquote>

<p>how can I solve that problem? </p>

<p>is there any way to edit files on external servers? maybe you can suggest better method</p>
