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:
[function.file-put-contents]: failed to open stream: HTTP wrapper does not support writeable connections
how can I solve that problem?
is there any way to edit files on external servers? maybe you can suggest better method
CHMOD the file(s) on the external server to 0777, then they can be changed externally:
Then use for editing:
Be aware that this can create a major security risk.