Lines Matching refs:chmod
2 Test fileperms() & chmod() functions: usage variation - misc. perms
26 Prototype: bool chmod ( string $filename, int $mode );
33 echo "*** Testing fileperms() & chmod() : usage variations ***\n";
41 echo "\n*** Testing fileperms(), chmod() with miscellaneous permissions ***\n";
71 var_dump( chmod($file_name, $permission) );
76 var_dump( chmod($dir_name, $permission) );
86 chmod(dirname(__FILE__)."/006_variation2.tmp", 0777);
87 chmod(dirname(__FILE__)."/006_variation2", 0777);
92 *** Testing fileperms() & chmod() : usage variations ***
94 *** Testing fileperms(), chmod() with miscellaneous permissions ***
152 Warning: chmod() expects parameter 2 to be long, string given in %s on line %d
156 Warning: chmod() expects parameter 2 to be long, string given in %s on line %d
161 Warning: chmod() expects parameter 2 to be long, string given in %s on line %d
165 Warning: chmod() expects parameter 2 to be long, string given in %s on line %d
170 Warning: chmod() expects parameter 2 to be long, string given in %s on line %d
174 Warning: chmod() expects parameter 2 to be long, string given in %s on line %d
179 Warning: chmod() expects parameter 2 to be long, string given in %s on line %d
183 Warning: chmod() expects parameter 2 to be long, string given in %s on line %d