I\'m trying to create a directory on my server using PHP with the command:
mkdir(\"test\", 0777);
But it doesn\'t give full permissions, on
Avoid using this function in multithreaded webservers. It is better to change the file permissions with chmod() after creating the file.
Example:
$dir = "test"; $permit = 0777; mkdir($dir); chmod($dir, $permit);