how to creat folder chmod 0777 ??? (php)
Posted: Wed Jun 24, 2009 10:43 pm
i used
to creat folder with chmod 777 but it created a folder chmod 755.
i read some article it said There are 2 ways to resolve
one is:
-unset value of unmask and then creat folder width chmod 777,get again value unmask
this way i can't understan what is unmask.
this way i do but not succesfull.
creat a folfer and then chmod 0777 << this way i creat a folder chmod 777 but can't creat another folder in this.
please tell me the way to creat folder with chmod 0777 (really)
sorry i mistake !(this not for this topic)
Code: Select all
mkdir("".INCLUDE_PATH."$thumuc/$title", 0777);i read some article it said There are 2 ways to resolve
one is:
-unset value of unmask and then creat folder width chmod 777,get again value unmask
this way i can't understan what is unmask.
this way i do but not succesfull.
creat a folfer and then chmod 0777 << this way i creat a folder chmod 777 but can't creat another folder in this.
please tell me the way to creat folder with chmod 0777 (really)
sorry i mistake !(this not for this topic)