linux - allow php rwx on created dir using mkdir() -



linux - allow php rwx on created dir using mkdir() -

when ever user "apache" creates directory, cannot add together new files onto via php upload, have alter folder's permissions work.

how ensure when user uploads file , folder created automatically php, file added onto folder after creation, without giving me unwrittable folder error?

try following:

mkdir($newdirectory); chmod($newdirectory, 0777);

php linux

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -