Hi All,
My php script is
if($fd = fopen("http://remote site/temp/temp.txt", "w"))){
fputs($fd, "first line");
fclose($fd);
}
else{
echo "fail to open remote file";
}
Result is :
fopen is succeeded but fputs isn't executed.
Mode of target directory(temp) at remote site and target file(temp.txt) is 777.
what is the problem?
I also want to know whether php's COPY function allow URL prameter or not.
thanks in advance for your comments.