Php create file online

I can read files using PHP from a network share, but how can I create a file and folder in a network share?

+3
source share
1 answer

Same as local file.

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

You must also have permission to create / write.

+4
source

Source: https://habr.com/ru/post/1755821/


All Articles