开发者

PHP Create File on Network Share

I can read files u开发者_如何学编程sing PHP from a network share, but how can I create a file and folder on a network share?


Same way you would a local file.

$fp = fopen("\\\\server\\share\\folder\\file.txt","w");

You must have permission to create/write, also.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜