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

前端 未结 1 1008
孤独总比滥情好
孤独总比滥情好 2021-01-23 04:42

If a file does not exist when calling

fopen(, \'w\');

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

相关标签:
1条回答
  • 2021-01-23 04:55

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

    0 讨论(0)
提交回复
热议问题