Monday, 2 July 2018

Php - Chmod Not Working

Using chmod I want to change the chmod values of the files from the user. But it does not work. My code is;

$chmod = "0777";
chmod($filename, $chmod);

I am entering chmod 777. But the chmod value of the file is 1411. I tried Chmod 0777, 777, 00777. The result is the same.



from Php - Chmod Not Working

No comments:

Post a Comment