开发者

What are the default permissions when creating a file with fopen() in php?

开发者 https://www.devze.com 2023-03-30 15:26 出处:网络
If a file does not exist when calling fopen开发者_StackOverflow(<filename>, \'w\'); what are the default permissions on the new file supposed to be?That depends on your OS, it\'s configuratio

If a file does not exist when calling

fopen开发者_StackOverflow(<filename>, 'w');

what are the default permissions on the new file supposed to be?


That depends on your OS, it's configuration and - depending on OS - the php umaskDocs configuration.

0

精彩评论

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