Issue
I'm trying to create a folder using php on os x
for exemple:
mkdir('test','0644',true);
and ls -l returns:
d-w----r-- 2 ant staff 68 16 nov 11:27 test
an other
mkdir('test','0777',true);
and ls -l returns:
dr----x--x 2 ant staff 68 16 nov 11:33 test
I don't understand why I didn't have the corrects rights on the folder Thanks for your help.
Solution
mkdir()
uses $mode
as an integer.
read: http://us1.php.net/mkdir
Answered By - floww