linux - PHP create directory with 777 permission in Windows -


i have read this:- why can't php create directory 777 permissions?

and can see new folder being created applying following:-

// desired folder structure $structure = "../../../".$flash_dir."hello";  // create nested structure, $recursive parameter  // mkdir() must specified.      $oldmask = umask(0);     mkdir($structure, 0777);     umask($oldmask); 

when viewing file permission of hello dreamweaver, 777. however, suspect linux 0777 rather windows 777, therefore still cannot upload things hello.

will there alternative method create directory windows 777? thanks!

ps. when manual create new directory , right click set 777, works perfectly, think it's related linux vs windows~

0777 same thing 777

but still can't problem is. try chmod again after you've created it.

$oldmask = umask(0); chmod($structure, 0777); umask($oldmask); 

Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -