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
Post a Comment