mkdir("/path/to/my/dir", 0700);
Thanks
mkdir("/path/to/my/dir", 0700);
Thanks
Yes. The leading zero will make the number interpreted as octal number; without it would be interpreted as decimal number.
var_dump(0700); // int(448)
var_dump(700); // int(700)