mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
note that umask is applied to mkdir perms
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50847 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
22d7941353
commit
947ebedad4
1 changed files with 2 additions and 0 deletions
|
@ -2064,6 +2064,8 @@ if($fp){
|
|||
<para>
|
||||
Note that you probably want to specify the mode as an
|
||||
octal number, which means it should have a leading zero.
|
||||
The mode is also modified by the current umask, which you
|
||||
can change using <function>umask</function>.
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
mkdir ("/path/to/my/dir", 0700);
|
||||
|
|
Loading…
Reference in a new issue