开发者

PHP Create File on Network Share

开发者 https://www.devze.com 2023-01-08 20:07 出处:网络
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.

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

精彩评论

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

关注公众号